Giter Site home page Giter Site logo

Geneate Junit XML results about destral HOT 2 CLOSED

ecarreras avatar ecarreras commented on July 29, 2024
Geneate Junit XML results

from destral.

Comments (2)

jaumef avatar jaumef commented on July 29, 2024 1

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.

jaumef avatar jaumef commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.