Skip to content

test reporting in Ruby #1

@hems

Description

@hems

When a test is entirely built in Ruby without calling a C++ method, is there a way to inform up the chain that the test passed? Without this, tests look like they are failing during the build script when perhaps they are not. If this is possible, we at least need a demo for the API here:

http://jamoma.org/api-documentation/chapter_unittesting.html

BENEFIT: Such a feature could speed up the development of tests because developer would not need to recompile AND because of this maybe more tests would be created.

SampleMatrix tests are now in C++ here:

https://github.com/jamoma/JamomaDSP/blob/fa7fba6c8e724aa714dafa5b79d256eca74a0e06/library/tests/TTSampleMatrix.test.cpp
https://github.com/jamoma/JamomaDSP/blob/fa7fba6c8e724aa714dafa5b79d256eca74a0e06/Tests/unit/samplematrix.test.rb

But for reference, earlier commits feature testing done more inside Ruby with out reporting via TTTestFinish:

https://github.com/jamoma/JamomaDSP/blob/55ec938dede3c28793d3275c56dc4acff0324114/Tests/unit/samplematrix.test2.rb

see more on the original redmine issue http://redmine.jamoma.org/issues/1207

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions