2018-10-09 UI Testing Team Meeting Notes

2018-10-09 UI Testing Team Meeting Notes

Date

Oct 9, 2018

Attendees

  • @Anton Emelianov (Deactivated)

  • @Zak_Burke

  • @Magda Zacharska

  • @John Malconian

  • @Matt Jones

  • @Jeffrey Cherewaty

  • @Wil Wilsman

  • @Eric Valuk (Deactivated)

Goals

Helpful information to review prior to meeting:

  • N/A

 

 

Time

Item

Who

Notes

Time

Item

Who

Notes

30 min

Demo of BigTest bootstrapping changes

Wil and Jeffrey

1) Wil and Jeffrey moved a lot of BigTest bootstrap code to stripes-core. It will make configuration of UI module much easier. https://github.com/folio-org/stripes-core/pull/430

2) Smart components are is not a typical UI module. Wil explains his approach here: https://github.com/folio-org/stripes-smart-components/pull/297

15 min

Demo of generating Nightmare code coverage report

Eric Valuk

Eric demonstrated Nightmare tests that can generate code coverage report identical to BigTest because they both are using the same tool: https://istanbul.js.org/

As of right now, the is outstanding issue that coverage report is not being generated if tests are run against a platform.

30 min

Free discussion

 

  1. ui-inventory was identified is #1 priority to build unit test code coverage. Jeffrey will bootstrap ui-inventory this week so that Zak can start building unit tests for this module.

  2. stripes-cli commands for bootstrapping BigTest should be finished by 10/12

  3. Coverage in SonarCloud vs Circle CI will be report different numbers for ui-eholdings. Need to configure SonarCloud to exclude the same files that are being excluded by Circle CI.

  4. ui-checkin and ui-myprofile have BigTest unit test and can be configured for SonarCloud reporting.

  5. eHoldings build in Jenkins will be running longer (2X) until parallel test execution is implemented.

  6. General discussion about long term plan for Nightmare tests. Eventually they will be phased out as individual module tests. We'll use them for integration testing only. BigTest will be used for unit tests.

  7. "Next Release" branch ( https://jenkins-aws.indexdata.com/job/folio-org/job/platform-complete/job/next-release/) should be used to build system for ui-module testing because it will be more stable than snapshot.

Action items

@Jeffrey Cherewaty - Implement bootstrapping of ui-inventory by hand so that we can start creating BigTest code coverage sooner.  
@Jeffrey Cherewaty to check with @John Malconian how to configure files to be included into coverage report for eHoldings.
@John Malconian to enable test execution and SonarCube for ui-checkin, ui-myprofile, ui-eholdings. 
@Eric Valuk (Deactivated) to work with @Matt Jones to resolve problem generating coverage report for a platform.