Skip to content

Switch to pytest? #327

Closed
Closed

Description

@dargueta

nose is no longer maintained (last release was in 2015) so I think we should consider moving on to a different testing framework. pytest gets us a lot of things like simplified argument parametrization and a lot of plugins we can install. It works with unittest so I don't think the move will require an overhaul.

Activity

  1. lurch commented on Jul 30, 2019

    @lurch
    Contributor
  2. willmcgugan commented on Aug 3, 2019

    @willmcgugan
    Member

    Yeah, pytest seems to be the dominant framework these days. I use it in other projects. I'm not sure what's involved in switching, hope I don't have to individually edit the tests.

  3. self-assigned this
    on Aug 3, 2019
  4. dargueta commented on Aug 5, 2019

    @dargueta
    ContributorAuthor

    hope I don't have to individually edit the tests.

    Aside from removing references to nose-specific stuff, no. I'll have a PR soon.

  5. dargueta commented on Aug 6, 2019

    @dargueta
    ContributorAuthor

    Working on it in #337, may need help fixing Appveyor since I've never used it before and don't really know what I'm doing.

  6. dargueta commented on Aug 8, 2019

    @dargueta
    ContributorAuthor

    I added a plugin to randomize test execution order and it looks like we have some hidden test interdependencies I can't figure out. Help would be most welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions