-
Notifications
You must be signed in to change notification settings - Fork 14
How to destroy tests and testing files
Added for version: 0.4
Updated for version: 0.7
To destroy a model test called ‘message’ use:
lein conjure destroy model-test message
Destroy will delete the file named messge_model_test.clj in the test/unit/model directory.
To destroy the fixture ‘message’ use:
lein conjure destroy fixture message
Destroy will delete the file named ‘message.clj’ in the test/fixture directory.
To destroy a view unit test called ‘show’ associated with the controller ‘message’ use:
lein conjure destroy view-test message show
Destroy will delete the file named ‘show_view_test.clj’ in the test/unit/view/message directory.
To destroy a binding unit test called ‘show’ associated with the controller ‘message’ use:
lein conjure destroy binding-test message show
Destroy will delete the file named ‘show_binding_test.clj’ in the test/unit/binding/message directory.
To destroy a controller functional test for controller ‘message’ use:
lein conjure destroy controller-test message
Destroy will delete the file named ‘message_controller_test.clj’ in the test/functional directory.