Git Product home page Git Product logo

Comments (7)

glaslos avatar glaslos commented on July 23, 2024

Well I used this big input set for the clustering. I suggest to add some parameters to the test script so you can choose which tests you are running (focus on the parts you changed).

from glastopf.

johnnykv avatar johnnykv commented on July 23, 2024

I do not use the test script, try Nose it blows your mind (and your nose).
I'll try to create some modification to test_dorks, i would really much like testing to work "out of the box" - without manually seeding of the database. It might be dramatic, so i will do in a pull :)

from glastopf.

glaslos avatar glaslos commented on July 23, 2024

I decided to use unittest back in the days because it's a build-in module and I needed as few external modules as possible (all test cases are created during the DARPA CFT project). I wouldn't mind switching to Nose :)

from glastopf.

johnnykv avatar johnnykv commented on July 23, 2024

Oh, but nothing needs to be changes to use Nose. It is just a advanced
testrunner - it works with the tests in the repo as of now

On Sat, Jan 12, 2013 at 8:45 PM, Lukas Rist [email protected]:

I decided to use unittest back in the days because it's a build-in module
and I needed as few external modules as possible (all test cases are
created during the DARPA CFT project). I wouldn't mind switching to Nose :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-12183217.

from glastopf.

glaslos avatar glaslos commented on July 23, 2024

Heh, marvelous! Looking forward to the new test runner!

from glastopf.

johnnykv avatar johnnykv commented on July 23, 2024

Will take some days or a week. Introducing dependency injection to simplify the whole dork thingy to make it more testable (and maintainable)...

from glastopf.

johnnykv avatar johnnykv commented on July 23, 2024

fixed with #24 - testing now completes much faster. I recommend using nosetests instead of the htmltestrunner.

jkv@asterix:~/glas-dev/glastopf$ nosetests 
...............
Ran 31 tests in 36.324s

jkv@asterix:~/glas-dev/glastopf$ 

from glastopf.

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.