Chapter 6. Testing Using Sublime

This chapter will teach us how to use Sublime Text for testing our code in different languages.

The following topics will be covered in this chapter:

  • Introduction to testing in Sublime Text
  • Testing in PHP development
  • Testing in Python development
  • Testing in Ruby development

Introduction to testing in Sublime Text

Every programmer makes mistakes; the difference between a good programmer and a bad programmer is that a good programmer tests their code before releasing it. This makes the programmer detect issues and bugs as soon as possible and fix them before something goes wrong. Also, the sooner we fix a bug the less time and cost it takes from us.

Sublime Text doesn't have any built-in features to help us test our code while developing in different languages, but the community has made plugins that work with standard testing packages for the most commonly used languages. We can use those plugins to ease our code-testing. We will cover the following plugins: PHPUnit for PHP, Unittest for Python, and RubyTest for Ruby.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset