[NPMCLI-226] Make tests more portable Created: 03/Jul/19  Updated: 15/Mar/21  Resolved: 15/Mar/21

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Maxime Michel Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to NPMCLI-201 Run automated CI tests for the CLI on... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Story Points: 8

 Description   

As NPMCLI-201 showed, simply moving the build of the CLI from our Linux machines on Jenkins to Travis' Linux machines leads to timing / file system issues.

Also, the ultimate goal of that ticket was that tests run successfully on Windows, which has lots of surprising issues such as the impossible deletion of a non-empty folder.

This ticket is about making the tests more robust so they can be run anywhere.

fgrilli is assigned as he's been involved in the porting to Travis as well as my investigation into the amount of work required. He also says he has a couple of ideas on what to improve.



 Comments   
Comment by Maxime Michel [ 31/Jul/19 ]

I am removing the CLI clone repository from our GitHub to avoid any confusion. If this effort ever gets prioritised, then this .travis.yml needs to be used:

language: node_js
node_js:
  - "10"
os:
  - linux
  - windows
notifications:
  email:
    recipients:
    - federico.grilli@magnolia-cms.com
    on_success: always
    on_failure: always
Comment by Maxime Michel [ 15/Mar/21 ]

Not a priority

Generated at Mon Feb 12 04:47:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.