Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • sight sight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sight
  • sightsight
  • Merge requests
  • !845

enh(test): add external project gui test support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michaël KUGLER requested to merge 1005-open-gui-test-to-sight-dependant-projects into dev Nov 17, 2022
  • Overview 3
  • Commits 1
  • Pipelines 9
  • Changes 30

Description

Add GUI test support in external projects:

  • rename the gui test core folder to testCore

-change the ITest profile path handling, by geting the full path, and not using "getWorkingDir()". It will be up to the GUI tests to provide the full profile path.

  • add the profile modules. The clasicall sightrun looks for the modules situated relatively to the profile path. This allows to load automatically the project modules; This will be done in the ITest too, at the test setup()

-add -B bundlesPath in the cppunit_main. Similarly to classical applications, the -B argument allows specifying additional bundles path. This will be handled in the unit test too.

  • change test templates to add external libs path in the PATH variable and bundles path

Closes #1005 (closed)

How to test it?

run GUI tests on sight.

add a GUI test in a sight-based external project and run it.

Edited Nov 21, 2022 by Michaël KUGLER
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1005-open-gui-test-to-sight-dependant-projects