Giter Site home page Giter Site logo

adityasavara / unittestersg Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 188 KB

UnitTesterSG is for unit testing scientific/engineering outputs. It accommodates nested and even staggered array type structures, and mixed data types (like strings and integers etc). It also enables you to set numerical and absolute tolerances. Compatible with pytest.

Python 99.98% OpenEdge ABL 0.02%
unit-testing unittest developer-tools development-tools development-workflow scientific scientific-research software-testing open-science

unittestersg's People

Contributors

adityasavara avatar akraetz avatar aroger34 avatar charleswatt avatar wattcl avatar

Stargazers

 avatar  avatar

Watchers

 avatar

unittestersg's Issues

isNestedOrString improvement

This function should just check for a string prior to checking if the variable is iterable. And give a more informative return

Make Unit Test to check README.txt and MANUAL.txt match

The way the package is setup, the readme at the outside directory and the MANUAL in the inside directory are supposed to always be identical. Need a unit test to check this so that unit tests won't all pass when they are different.

UnitTesterSG should have option to not ask when strings don't match

By default, UnitTesterSG will always stop if there is a test where the objects converted to strings don't match.

The code should be changed to have an argument where the default is bypassing this, as long as the test has passed.

The way to do this is going to be to put a global variable and extra argument into the function that runs the tests. That way, the global variable can be checked before asking the questions.

The file runUnitTesterSG.py can then take an optional command line argument like "-s" or something like that. (for string)

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.