Capitains / HookTest

Testing script for Hook
Mozilla Public License 2.0
3 stars 3 forks source link

Implementation of automatic detection of RNGs #130

Closed sonofmun closed 6 years ago

sonofmun commented 6 years ago

It should detect and donwload if it is remote and detect and use if it is local. Also wrote unit tests for this. I would also suggest removing the "remote" and "local" flags from the command line (https://github.com/Capitains/HookTest/blob/custom_dtd/HookTest/cmd.py#L25) and the "custom_rng" scheme and test (e.g., https://github.com/Capitains/HookTest/blob/custom_dtd/HookTest/capitains_units/cts.py#L430-L460),

sonofmun commented 6 years ago

Issue #58 (finally)!

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.4%) to 95.789% when pulling 529cdef03c67e0b65d0ed45eb8188523ee5881a9 on custom_dtd into c4b5fd72382eb885912e6be3951b19e1c6c00969 on master.

sonofmun commented 6 years ago

The reduction in coverage is due to the objects and functions around the custom_dtd test. If this is deleted, coverage should be more acceptable.

PonteIneptique commented 6 years ago

Should we have a call tomorrow or the day after to review this together ?

sonofmun commented 6 years ago

Sure.

sonofmun commented 6 years ago

Changes have been made. Take a look.

sonofmun commented 6 years ago

Need to add a unit test for when the --scheme argument is a file path.

PonteIneptique commented 6 years ago

Should I wait for the unit-test for merging ?

sonofmun commented 6 years ago

Hi Sorry. Yes, wait for the next commit. I actually didn't even implement the local file option on --scheme. So I am trying to do that now before I run out of energy for the day.

PonteIneptique commented 6 years ago

Good luck !

PonteIneptique commented 6 years ago

Should it be in this PR that we update the README ?

sonofmun commented 6 years ago

Implemented and tested. Don't merge yet. If you approve, just keep your review as approved and I will look at everything more closely tomorrow. Right now I am too tired to be able to judge very well what I did. I will then squash and merge if everything looks good in the morning.

PonteIneptique commented 6 years ago

Looks good to me. Will remain README, bump and CHANGES.md to do :)

sonofmun commented 6 years ago

I assume this is a minor revision and so we should bump to 1.2.

PonteIneptique commented 6 years ago

Minor but yes, 1.2.0 : https://semver.org/ :)

sonofmun commented 6 years ago

I said "minor" revision. Just look at my comment!

PonteIneptique commented 6 years ago

Sorry buddy, github updated their edit policy : image

PonteIneptique commented 6 years ago

:D

sonofmun commented 6 years ago

Damn! Transparency sucks!

sonofmun commented 6 years ago

Now on to:

PonteIneptique commented 6 years ago

Yay !

sonofmun commented 6 years ago

If you are still OK with the changes, then I will squash and merge once all checks pass.

PonteIneptique commented 6 years ago

Squash and merge away !

PonteIneptique commented 6 years ago

Congrats !