How do you use test-unit?

luther

My test/run_test.rb is exactly as the docs have it here. My test/spec.rb has simply puts 'hello', yet running ruby test/run_test.rb outputs nothing at all.

I can't find any other documentation on test-unit.

David Grayson

Rename test/spec.rb to test/foo_test.rb, as your test files need to end with _test.rb.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How do you unit test private methods?

From Java

How do you skip a unit test in Django?

From Dev

How to write unit test when you use Future?

From Dev

TDD In practice -- How do you write a unit test for sending an email?

From Dev

How do you write a unit test for a function that is not exported?

From Dev

How do you test for values created in a new Buffer in unit tests

From Dev

How do you override a module/dependency in a unit test with Dagger 2.0?

From Dev

How do you unit test Google Cloud NDB code?

From Dev

In a unit test, do you verify and assert?

From Dev

In a unit test, do you verify and assert?

From Dev

How do I write a unit test for controller use automapper?

From Dev

How do you mock classes that are used in a service that you're trying to unit test using JUnit + Mockito

From Dev

Which tools/libraries do you use to unit test your PL/PgSQL

From Dev

Which tools/libraries do you use to unit test your PL/PgSQL

From Dev

How shall I use fakesAync in Angular unit test when you make an HTTP call that returns an observable?

From Dev

How do you inject an angular2 service into a unit test? (RC3)

From Dev

How do you unit test a binding with a different name in an Angular 1.5 component?

From Dev

How do you unit test an ASP.NET Core controller or model object?

From Dev

How do you install the unit test generator extension in Visual Studio 2013 express

From Dev

When running unit tests with laravel, how do you test your App::error() implementations?

From Dev

How do you unit test ASP.NET Core MVC Controllers that return anonymous objects?

From Dev

How do you Unit TEst code which uses String.IsNullOrEmpty?

From Dev

How do you unit test that methods such as ok() were called in aurelia-dialog using jasmine?

From Dev

How do you unit test ASP.NET Core Web Application (.Net Framework)?

From Dev

How do you install the unit test generator extension in Visual Studio 2013 express

From Dev

How do you unit test that methods such as ok() were called in aurelia-dialog using jasmine?

From Dev

How do you unit test ASP.NET Core MVC Controllers that return anonymous objects?

From Dev

how do you mock an xml for unit testing?

From Dev

how do you mock an xml for unit testing?

Related Related

  1. 1

    How do you unit test private methods?

  2. 2

    How do you skip a unit test in Django?

  3. 3

    How to write unit test when you use Future?

  4. 4

    TDD In practice -- How do you write a unit test for sending an email?

  5. 5

    How do you write a unit test for a function that is not exported?

  6. 6

    How do you test for values created in a new Buffer in unit tests

  7. 7

    How do you override a module/dependency in a unit test with Dagger 2.0?

  8. 8

    How do you unit test Google Cloud NDB code?

  9. 9

    In a unit test, do you verify and assert?

  10. 10

    In a unit test, do you verify and assert?

  11. 11

    How do I write a unit test for controller use automapper?

  12. 12

    How do you mock classes that are used in a service that you're trying to unit test using JUnit + Mockito

  13. 13

    Which tools/libraries do you use to unit test your PL/PgSQL

  14. 14

    Which tools/libraries do you use to unit test your PL/PgSQL

  15. 15

    How shall I use fakesAync in Angular unit test when you make an HTTP call that returns an observable?

  16. 16

    How do you inject an angular2 service into a unit test? (RC3)

  17. 17

    How do you unit test a binding with a different name in an Angular 1.5 component?

  18. 18

    How do you unit test an ASP.NET Core controller or model object?

  19. 19

    How do you install the unit test generator extension in Visual Studio 2013 express

  20. 20

    When running unit tests with laravel, how do you test your App::error() implementations?

  21. 21

    How do you unit test ASP.NET Core MVC Controllers that return anonymous objects?

  22. 22

    How do you Unit TEst code which uses String.IsNullOrEmpty?

  23. 23

    How do you unit test that methods such as ok() were called in aurelia-dialog using jasmine?

  24. 24

    How do you unit test ASP.NET Core Web Application (.Net Framework)?

  25. 25

    How do you install the unit test generator extension in Visual Studio 2013 express

  26. 26

    How do you unit test that methods such as ok() were called in aurelia-dialog using jasmine?

  27. 27

    How do you unit test ASP.NET Core MVC Controllers that return anonymous objects?

  28. 28

    how do you mock an xml for unit testing?

  29. 29

    how do you mock an xml for unit testing?

HotTag

Archive