testing - Where to put test implementation classes in Rails? -


I have a class in lib in which it has some application logic, Implementation which will be used in automated functional tests. Is this a good place where I can keep this class? Ideally I do not want to load it while running a web site in production.

If there is an application logic in class in lib / Xyz .

If you want to make a dummy subclass or a duck type for testing, put it in your test-file.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -