Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch unit testing to py.test #447

Closed
prjemian opened this issue Oct 23, 2020 · 4 comments · Fixed by #547
Closed

switch unit testing to py.test #447

prjemian opened this issue Oct 23, 2020 · 4 comments · Fixed by #547
Assignees
Milestone

Comments

@prjemian
Copy link
Contributor

This will match what the bluesky framework is using

@prjemian prjemian added this to the 2020 year end milestone Oct 23, 2020
@prjemian prjemian self-assigned this Oct 23, 2020
@prjemian prjemian modified the milestones: 1.4.0, future-milestone Jan 12, 2021
@prjemian prjemian modified the milestones: future-milestone, 1.4.1 Jan 12, 2021
@prjemian prjemian modified the milestones: 1.4.1, 1.4.2 Jan 19, 2021
prjemian added a commit that referenced this issue Mar 22, 2021
@prjemian prjemian modified the milestones: 1.5.0, 1.5.1 Mar 22, 2021
@prjemian prjemian modified the milestones: 1.5.1, 1.5.2 Jul 8, 2021
@prjemian
Copy link
Contributor Author

Since pytest can run the existing unit tests, what work remains to close this issue?

@prjemian
Copy link
Contributor Author

Current unit tests use unittest and pytest. Conversion of all unit tests to only pytest will take some time and seem unnecessary now. Moving to next milestone now.

@prjemian prjemian modified the milestones: 1.5.2, 1.5.3 Sep 15, 2021
@prjemian
Copy link
Contributor Author

prjemian commented Oct 4, 2021

(bluesky_2021_2) prjemian@zap:~/.../BCDA-APS/apstools$ git grep unittest | grep import
tests/__main__.py:import unittest
tests/test_apsbss.py:import unittest
tests/test_commandlist.py:import unittest
tests/test_exceltable.py:import unittest
tests/test_plans.py:import unittest
tests/test_simple.py:import unittest

@prjemian
Copy link
Contributor Author

prjemian commented Oct 4, 2021

The entire purpose of __main__.py is to queue the tests for unittest

prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 4, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
prjemian added a commit that referenced this issue Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant