Framework Integration

Supported Frameworks

Framework
Test::Unit (Ruby) Download
Ruby on Rails (Test::Unit) Download

Your contributions of code for integration into other frameworks would be greatly appreciated.

Other Frameworks

If you'd like support for Tesly Jr. in your favorite framework, extend your test reporter to send a POST request to http://junior.tesly.com/test_runs with the following parameters:

  • project — The name of the project, as it should be displayed at the site.
  • user — The token that's generated for you when you create an account and is visible on the profile page.
  • results — A YAML-formatted hash of the test results.

Here's some sample data for the results parameter. The durations are in seconds, and failed tests (and tests that raise exceptions) should have a fault value of true.

  --- 
ProjectsControllerTest: 
- :duration: 0.019351
  :fault: false
  :method: test_should_create_project
- :duration: 0.029284
  :fault: true
  :method: test_should_destroy_project
- :duration: 0.043426
  :fault: false
  :method: test_should_get_edit
TestCasesControllerTest: 
- :duration: 0.027144
  :fault: false
  :method: test_should_destroy_test_case
- :duration: 0.033933
  :fault: false
  :method: test_should_get_edit