Coder Social home page Coder Social logo

Add unitests about mtools HOT 5 CLOSED

rueckstiess avatar rueckstiess commented on June 20, 2024
Add unitests

from mtools.

Comments (5)

rueckstiess avatar rueckstiess commented on June 20, 2024

I know, I know :-)

Do you know a good testing framework? I have used doctests (http://docs.python.org/2/library/doctest.html) before and nose (http://pythontesting.net/framework/nose-introduction/) is popular too.

I imagine we'd have fixed logfiles for a number of versions (1.8, 2.0, 2.2, 2.4 for now) and run the tools over them and compare outputs for each of the arguments.

For tools like mplotqueries and mlaunch we'd actually have to unittest individual methods I suppose?

from mtools.

rueckstiess avatar rueckstiess commented on June 20, 2024

started adding tests, using nose framework. once I have some more I'll push them into the develop branch.

from mtools.

gianpaj avatar gianpaj commented on June 20, 2024

Cool stuff.
Are you keeping track of tasks somewhere? Are you using a Jira project or something?
Or can you simply create a Github issue for example for "Add tests to mlaunch" and then assign it to me/you.

PS: I'll try tomorrow to come in early so we can do 10/15 min video chat ( i'll send you a calendar invite )

from mtools.

rueckstiess avatar rueckstiess commented on June 20, 2024

The current tests are in the feature-39-tests branch. mlaunch is tested pretty well already (still a few things missing), the other tools also need tests.

from mtools.

rueckstiess avatar rueckstiess commented on June 20, 2024

I think we can close this issue. All new features should get tests. I will open individual new issues for the tools that are not tested yet.

from mtools.

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.