Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Test suite #3

Open
ipmb opened this issue Feb 28, 2013 · 2 comments
Open

Test suite #3

ipmb opened this issue Feb 28, 2013 · 2 comments

Comments

@ipmb
Copy link
Member

ipmb commented Feb 28, 2013

I'm thinking we should have a test module for every plugin, eg: botbotme_plugins/tests/github.py and a simple command like runtests.py that will go through the test suite.

ipmb added a commit that referenced this issue Feb 28, 2013
@yml
Copy link
Member

yml commented Mar 1, 2013

I think this is already covered by py.test:

yml@botbot$ (git: master) py.test
============================================================================== test session starts ==============================================================================
platform linux2 -- Python 2.7.3 -- pytest-2.3.4
collected 5 items 

botbotme_plugins/tests/test_bangmotivate.py ..
botbotme_plugins/tests/test_github.py .
botbotme_plugins/tests/test_ping.py ..

=========================================================================== 5 passed in 0.92 seconds ============================================================================
(botbot_plugins_env)/srv/virtualenvs/botbot_plugins_env/src/botbotme-plugins
yml@botbot$ (git: master) 

@ipmb
Copy link
Member Author

ipmb commented Mar 11, 2013

Ok, what we have works. We just need to write tests for the rest of the plugins:

  • github (started, but not complete)
  • images
  • last_seen
  • wolfram

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants