Skip to content
Snippets Groups Projects
  • Matiss Janis Aboltins's avatar
    d9bc64e7
    :bug: making desktop-client tests independent (#765) · d9bc64e7
    Matiss Janis Aboltins authored
    
    Tests cases should be independent. You should be able to run them in
    whatever order you want. And they should still pass.
    
    Currently this is not the case. The order of the tests is very important
    due to the "pseudo" randomization algorithm.
    
    This PR makes the mock data IDs truly unique thus better exposing the
    issue in our tests. Also this PR fixes the dependency issues thus making
    each test case truly independent.
    
    ---------
    
    Co-authored-by: default avatarJed Fox <git@jedfox.com>
    :bug: making desktop-client tests independent (#765)
    Matiss Janis Aboltins authored
    
    Tests cases should be independent. You should be able to run them in
    whatever order you want. And they should still pass.
    
    Currently this is not the case. The order of the tests is very important
    due to the "pseudo" randomization algorithm.
    
    This PR makes the mock data IDs truly unique thus better exposing the
    issue in our tests. Also this PR fixes the dependency issues thus making
    each test case truly independent.
    
    ---------
    
    Co-authored-by: default avatarJed Fox <git@jedfox.com>
765.md 104 B
category: Maintenance
authors: [MatissJanis]

Make desktop-client integration tests independent