Task #11424 (closed)
Opened 11 years ago
Closed 8 years ago
Document pytest usage for omeroweb
Reported by: | cneves | Owned by: | cneves |
---|---|---|---|
Priority: | major | Milestone: | Testing2 |
Component: | Web | Version: | 4.4.8 |
Keywords: | n.a. | Cc: | wmoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Change History (4)
comment:1 Changed 11 years ago by cneves
comment:2 Changed 11 years ago by cneves
- Cc wmoore added
comment:3 Changed 11 years ago by jamoore
- Milestone changed from Testing and Docs to Testing2
comment:4 Changed 8 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
Assuming this is covered by http://www.openmicroscopy.org/site/support/omero5.2/developers/testing.html, closing.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Running tests
New test system depends on pytest:
Some optional plugins that really help out:
We don't use pytest-django as all that plugin does is allow for easier setting of DJANGO_SETTINGS_MODULE, which we handle on plugins/web.py thus preventing an extra dependency.
Running the tests:
The test runner assumes there's an ice.config file in ./etc/ice.config and that omeroweb apps are found in ./lib/python/omeroweb.
Optional arguments to test:
Examples: