Often while developing we just need to try out a bit of code to see if it works and we don't want to have to set up an entire application to test an idea.

Here are several of the tools I use for testing out code and ideas…

C# (C Sharp):

  • C# Pad is very handy for checking small sets of C# statements.
  • Compile C# Online lets you write C# and test it, and save the code by way of a unique URL.

HTML/CSS:

  • Browser Shots lets you view what a URL looks like across a wide variety of browsers and the underlying operating systems.
  • JSFiddle provides HTML, CSS, and JS testing from a single location.
  • Nu Html Checker is provided by the W3C for verifying correctness of your web page. You can provide a URL, upload a file, or paste the HTML into a form.

Java:

  • Compile Java Online lets you create Java code, test it, and save your finished code by generating a unique URL.

JavaScript:

  • Compile JavaScript Online lets you create server-side JavaScript code, test it, and save your finished script by way of a unique URL.
  • JS.do supports adding JS frameworks via drop-down menu.
  • JSFiddle provides HTML, CSS, and JS testing from a single location.
  • JSLint tests and beautifies your JavaScript and/or JSON while offering suggestions for improvements.
  • Online JavaScript Interpreter provides a small JS reference guide and script execution timing
  • Google Structured Data Testing Tool lets you verify the correctness of your JSON+LD script block.
  • JSONPath Expression Tester JPath/JSONPath is the equivalent of XML's XPATH query modified to fit the quirks that make JSON different, such as nameless collections and arrays. This testing page offers tests against multiple implementations and versions of those implementations of the JPath concept.

PHP:

  • Compile PHP Online lets you write, run, and save PHP code from within your browser by way of a unique URL.

RegEx (Regular Expressions):