Sha256: afa19bf6f5dafd88116600718f2a59708ffa7f957387526b21d5f298a085f7a5

Contents?: true

Size: 941 Bytes

Versions: 7

Compression:

Stored size: 941 Bytes

Contents

A quick explanation of how to use this strange testing method
-------------------------------------------------------------

Why use this instead of well-known testing frameworks? Because it fits my workflow. You can of course obliterate this test/ directory and replace it with your method of choice. I mostly build gems that write to files and existing frameworks are overkill for what I'm trying to do. You don't hunt mosquitoes with a rocket launcher... .


Within the test/ directory, run:

  bundle install


To create a new test, run:

  ruby add_test.rb

There's no need to append "_test" to it. It's done automatically. Your new test will go to units/ directory.
Open your new test and fill in the required parts. You can have a look at sample_test.rb (delete it when done).


To execute the test suite, run:

  ruby test_runner.rb

Use the fixtures/ directory for storing your fixtures.
Use results/ if you need to write to files.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pad_gem-1.6.0 lib/foundation/test/how_to_test.txt
pad_gem-1.5.0 lib/foundation/test/how_to_test.txt
pad_gem-1.4.0 lib/foundation/test/how_to_test.txt
pad_gem-1.3.0 lib/foundation/test/how_to_test.txt
pad_gem-1.2.0 lib/foundation/test/how_to_test.txt
pad_gem-1.1.1 lib/foundation/test/how_to_test.txt
pad_gem-1.1.0 lib/foundation/test/how_to_test.txt