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

Testing #3

Open
11 of 26 tasks
KGergo88 opened this issue Jul 2, 2019 · 0 comments
Open
11 of 26 tasks

Testing #3

KGergo88 opened this issue Jul 2, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request SP: 34
Projects
Milestone

Comments

@KGergo88
Copy link
Member

KGergo88 commented Jul 2, 2019

The following topics need to be done:

Tool evaluations

Project structure

  • The issue needs to be developed on the ISSUE_#3_Testing branch
  • Define the project structure that has a folder for the tests and below that subfolders for unit tests, functional tests and other test relevant tools/data/mapfiles/configurations/scripts
  • Create a script to generate code coverage reports for the unit tests

Unit testing

  • Test first the most important functions and classes:
    • memoryMap.py::emma_libs.memoryMap.caluclateObjectsInSections
    • memoryManager.py::resolveDuplicateContainmentOverlap()
    • memoryManager.py::importData
    • memoryEntry.py::MemEntry
  • Develop full tests for the following files:
    • Files TBD...
  • Further points TBD...

Functional testing

  • Call Emma with various wrong command line arguments
  • Call Emma-vis with various wrong command line arguments
  • Call Emma-Delta with various wrong command line arguments
  • Create functional tests for the Emma with test_project (this is a precondition for Memory Manager Redesign #5)
  • Test the dependencies of arguments
  • Make tests with mapfiles that have a wrong structure/syntax
  • Make tests with configurations that are ill formed:
    • globalConfig.json without any configID defined in it
    • A config with an address spaces file that has an ignored memory entries that do not exist in it
  • Categorisation
    • If a category does not match, we shall get a warning
  • Call Emma with no map files at all and check for the error message (exit code -10)
  • TBD...

Corrections needed based on the first review of unit tests

@KGergo88 KGergo88 added enhancement New feature or request high prio This issue shall be prioritised labels Jul 2, 2019
KGergo88 referenced this issue Jul 5, 2019
…) and bugfixes

Details:
    - Adding different test cases to test the MemoryMap.py::caluclateObjectsInSections() function
    - Bugfix in the MemoryMap.py::caluclateObjectsInSections() function
    - Defining an exception throwing empty __eq__ operator for the memoryEntry.py::MemEntry class
@KGergo88 KGergo88 mentioned this issue Jul 9, 2019
10 tasks
@holzkohlengrill holzkohlengrill added this to the 3.3 milestone Apr 28, 2020
@holzkohlengrill holzkohlengrill added this to Backlog in Planning May 29, 2020
@holzkohlengrill holzkohlengrill moved this from Backlog to ToDo in Planning May 29, 2020
@holzkohlengrill holzkohlengrill removed the high prio This issue shall be prioritised label Jun 9, 2020
@DariaPigasova DariaPigasova moved this from ToDo to In progress in Planning Jun 26, 2020
@holzkohlengrill holzkohlengrill moved this from In progress to Backlog in Planning Sep 17, 2020
@holzkohlengrill holzkohlengrill moved this from Backlog to In progress in Planning Sep 17, 2020
@DariaPigasova DariaPigasova moved this from In progress to Backlog in Planning Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SP: 34
Projects
Planning
  
Backlog
Development

No branches or pull requests

3 participants