Write a test method around the block of code that you want to test as an independent piece. Then, compile the code. Just open the test explorer window and right click on the method and choose to Run test
. Results should be returned quickly.
Doing this saves a lot of time that would normally be spent in building code and executing the life cycle methods.