Comments (2)
Python-junit-xml
It turned out to be pretty simple with Unittest API, even if it carries a bit of work it just modifies this repo's internal API.
I'm proceeding with this method.
from destral.
PyTest
I've been trying to integrate py.test on our tests, but "loadmodules
" and TestSuite's running are not compatible with pytest.
- Pytest uses it's command line method and a hooks system to run the test, so the openerp service environment can't be passed throght args.
- Pytests can run unittest class-based tests but from a specified directory and without "extra-args".
→We can run tests with pytest adding fixtures and selecting by-module fixtures on pytest run, but it's kind of hard to integrate on our testing methods.
- We may add the fixtures to each unittest class
- We may add init fixtures to init the openerp service, install the modules ...
- We may setup the openerp service in a fixture (not in destral)
- We may add distinct marks on each test, so we can keep the one-test-run (
-t
functionality)
I'd proceed to get more info on python-junit-xml to integrate with unittest API.
from destral.
Related Issues (20)
- Fix always fails with reports HOT 1
- Check reports
- Boolean fields must be initialized
- Test migration script has migrate callable
- Database per TestSuite
- Set admin password using no-dropdb HOT 1
- Check translations
- test_translate_modules doesn't work
- Show untranslated string
- Generated POT in tests contains strings from other modules
- It's ok if a module has no translations?
- Allow when creating a Transaction() use PatchedCursor
- Multi-module test crashes HOT 1
- Integration with pycodestyle
- It takes a lot of time to install tested modules when, may be, it is not required. HOT 1
- Allow multiprocess on destral execute
- approach use a new db for each module
- Test diferent views versions
- Mamba alternative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from destral.