Examples of how TLB can be used in different ecosystems.
Ruby Java Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ant_junit #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
buildr_junit #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
cucumber_example #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
maven_junit sample maven project Oct 10, 2014
rspec1_example
rspec2_example #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
simple_ruby_project A simple project to help track coverage Jul 12, 2012
test-unit_example #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
.gitignore sample maven project Oct 10, 2014
.gitmodules removed tlb_rb submodule from rspec1 example as well, depends on gem now Dec 22, 2010
README #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
addition.feature #69 - Added some more examples in the sample project so that run-bala… May 10, 2011
messages.sh issue#85 - tlb.rb gets 1.9 support(necessary changes to have the samp… May 26, 2011
recipe.bat #62 - Added run_balanced for all the sample projects. This works for … Aug 12, 2012
recipe.sh issue#21 - converted from not-so-portable -n to portable string compa… Dec 7, 2011
sample_projects.ipr ant-junit now uses the latest TLB, and resolves tlb itself as a depen… Feb 8, 2011
start_server.bat

README

ABOUT
-----
This is a directory of tiny projects created to demontrate TLB setup.
These projects are written in different languages, using different testing frameworks and build tools supported by TLB(and sister projects).

Here is a short discription of each example project
---------------------------------------------------
ant_junit [Java]:         Java project using Ant. Demonstrates running of JUnit tests on Ant build target using TLB java support.
buildr_junit [Java]:      Java project using Buildr. Demonstrates running of JUnit tests on Buildr build target using TLB java support.
rspec1_example [Ruby]:    Demonstrates running of RSpec-1.x tests using Rake build target. This uses TLB Ruby suppport(you need to install tlb-rspec1 gem on your computer for this to work).
rspec2_example [Ruby]:    Demonstrates running of RSpec-2.x tests using Rake build target. This uses TLB Ruby suppport(you need to install tlb-rspec2 gem on your computer for this to work).
test-unit_example [Ruby]: Demonstrates running of Test::Unit tests using Rake build target. This uses TLB Ruby suppport(you need to install tlb-rspec2 gem on your computer for this to work).
cucumber_example [Ruby]:  Demonstrates running of Cucumber tests using Rake build target. This uses TLB Ruby suppport (you need to install tlb-cucumber gem on your computer for this to work).

HOW TO USE
----------
All of these projects have a shell-script 'run_balanced.sh' or 'run_balanced.bat' which should be executed from the respective project root. This script executes two partitions of tests(one after another). 

On Windows, you can do a "run_balanced.bat --help" to figure out how to use the script

NOTE
----
These partitions are executed serially, but this setup is only for demonstration purpose and to help new TLB users with working build-fragments. 
In a real world situation all such partitions would be started at the same time, and executed on different machines parallely(hence the load distribution).