Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Add guideline for adding tests to the neo-privnet-unittest image #661

Merged
merged 10 commits into from
Oct 12, 2018
Merged

Add guideline for adding tests to the neo-privnet-unittest image #661

merged 10 commits into from
Oct 12, 2018

Conversation

dauTT
Copy link
Contributor

@dauTT dauTT commented Oct 9, 2018

What current issue(s) does this address, or what feature is it adding?

  • Add option (-u) to run neo-python in combination with the neo-privnet-unittest image.
  • Add guideline for adding unit-tests to the neo-privnet-unittest image.

How did you solve this problem?

How did you make sure your solution works?

manual testing.
running : make docs

Are there any special changes in the code that we should be aware of?

This image neo-privnet-unittest, need to be move under COZ domain. Once this is done we need to update the link in tests.rst file.

Please check the following, if applicable:

  • Did you add any tests?
  • Did you run make lint?
  • Did you run make test?
  • Are you making a PR to a feature branch or development rather than master?
  • Did you add an entry to CHANGELOG.rst? (if not, please do)

@dauTT dauTT changed the title Add guideline for adding tests to the neo-privnet-unittest image Add guideline for adding tests to the neo-privnet-unittest image Oct 9, 2018
@coveralls
Copy link

coveralls commented Oct 9, 2018

Coverage Status

Coverage increased (+0.004%) to 82.046% when pulling dcd899d on dauTT:dev-doc-unittest into d9dce0b on CityOfZion:development.

@ixje
Copy link
Member

ixje commented Oct 10, 2018

Note to self: push docker image to coz account

Copy link
Member

@ixje ixje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed the image to docker here: https://hub.docker.com/r/cityofzion/neo-python-privnet-unittest/tags/

Please update the links + docker pull/run instructions to match the above link. Also, please run an rst linter like rst-lint as there are linting errors in test.rst. Thanks!

@dauTT
Copy link
Contributor Author

dauTT commented Oct 11, 2018

Thanks @ixje for reviewing the PR. I have implemented your feedback.

Copy link
Member

@ixje ixje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ixje ixje merged commit 5a324b3 into CityOfZion:development Oct 12, 2018
@dauTT dauTT deleted the dev-doc-unittest branch October 12, 2018 20:01
jseagrave21 pushed a commit to jseagrave21/neo-python that referenced this pull request Oct 13, 2018
…yOfZion#661)

* Add the option -u (unittest-net) to prompt.py

* Add unittest guildeline and add the smart contract source codes (UnitTest-SM.zip) to the fixtures package
jseagrave21 added a commit to jseagrave21/neo-python that referenced this pull request Oct 18, 2018
* Fix ExtendedJsonRpcApi (CityOfZion#662)

* Update ExtendedJsonRpcApi.py

- add fix provided by @localhuman so original methods are returned as well as extended methods

* Mute expected test stacktrace and clearly identify why an exception is thrown. (CityOfZion#663)

* Add guideline for adding tests to the neo-privnet-unittest image (CityOfZion#661)

* Add the option -u (unittest-net) to prompt.py

* Add unittest guildeline and add the smart contract source codes (UnitTest-SM.zip) to the fixtures package

* Add raw transaction building examples (CityOfZion#665)

* Update neo-boa version to fix core building test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants