Logo-small

6.39 Autotest

Autotest is a live testing tool. It searches for unit tests related to the code you write and runs them in background.

For Pharo 1.1 and 1.2:

Gofer it
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfAutotest';
load.
((Smalltalk at: #ConfigurationOfAutotest) project version: '1.0.1') load.

Then go into Settings browser and check option Autotest.

To get OB integration in Pharo 1.2:

Gofer it 
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfAutotest';
load.
ConfigurationOfAutotest project latestVersion load: #OB.

Then right click on a method in the Browser, select Trigger Autotest to run this method in Autotest.

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |