Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Write basic test for Core #5231

Closed
sudden6 opened this issue Jul 13, 2018 · 4 comments
Closed

Write basic test for Core #5231

sudden6 opened this issue Jul 13, 2018 · 4 comments
Labels
C-feature-request The issue contains a feature request Good first issue This is a good issue to get started working on qTox M-architecture Category for internal architecture problems

Comments

@sudden6
Copy link
Member

sudden6 commented Jul 13, 2018

The test should run at TravisCI and at least include:

  • startup without proxy
  • startup with invalid proxy
  • loading of unencrypted save file
  • loading of encrypted save file
  • try loading a broken save file
  • saving a save file

More tests and ideas welcome

@sudden6 sudden6 added the M-architecture Category for internal architecture problems label Jul 13, 2018
@sudden6 sudden6 added this to TODO in Codebase cleanup via automation Jul 13, 2018
@zetok
Copy link
Contributor

zetok commented Oct 1, 2018

  • create profile
  • delete profile
  • encrypt profile
  • decrypt profile
  • rename profile
  • delete history
  • change password and check if new one works

@sudden6
Copy link
Member Author

sudden6 commented Oct 1, 2018

@zetok these are all operations that happen outside the Core module. The core module is only the wrapper around toxcore.

I think this would fit better in a new issue.

@zetok
Copy link
Contributor

zetok commented Oct 2, 2018

Oh, I see, I thought it was about core functionality.

@sudden6 sudden6 moved this from TODO to WIP in Codebase cleanup May 23, 2019
@sudden6 sudden6 moved this from WIP to Done in Codebase cleanup Jun 20, 2019
@sudden6 sudden6 added C-feature-request The issue contains a feature request Good first issue This is a good issue to get started working on qTox labels Aug 11, 2019
@sudden6
Copy link
Member Author

sudden6 commented Apr 23, 2022

Basic tests for Core have been implemented here: https://github.com/qTox/qTox/blob/master/test/core/core_test.cpp

@sudden6 sudden6 closed this as completed Apr 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-feature-request The issue contains a feature request Good first issue This is a good issue to get started working on qTox M-architecture Category for internal architecture problems
Projects
Development

No branches or pull requests

2 participants