GUILD TASK FORCE

Task Force week

how does it work?

Tasks

- Http client and metrics
- Cache client and metrics
- E2E tests POC and Testim.io pilot
- Style guide \ Storybook
- Frontend Bootcamp

- User details in access logs
- Improved Sage Generator

 

Sage Clients

Cache client - example

import { cache } from '@sage/toolkit';

const myCache: LocalCache = cache.createLocalCache();

//Set data
await myCache.set('123', 'cde');

// Get data
const data = await myCache.get('123');

(Jonathan Salem, Ido Kantor, Maor Moshe)

HTTP client - example

import { httpClient } from '@sage/toolkit';

const httpClientInstance = httpClient.create();

const response  = await httpClientInstance.get('/user?ID=12345');

(Liron Zluf, Muhamed Younis)

E2E tests POC

- Cypress
- Testim.io
- TestCraft

- Ghost Inspector

- Others (Endtest, TestSigma, Mabl, Boozang, CloudQA, eggplant, Ranorex, Functionize)

 

 

 

(Maor Frankel, Jure Bajt, Shai Azulay)

E2E tests POC - The Requirements

  • Minimal time and effort to create (and fix) a test

  • Replay test or part of a test

  • Easy debugging of a test

  • Export tests, ie not to be locked to a specific solution

  • Reasonable price (free preferable)

  • Different browsers support

  • Integration with CI tools

  • Ability to Setup/teardown of test state in DB

  • Ability to connect to localhost server, for running pure UI tests

Testim.io

- Great test recorder

- Smart element tracking

- Easy debugging

- Works with selenium grid (zelenium)

- CI integration

Style guide \ Storybook

- Common CSS rules

- Common components (only Angular for now)

- Storybook - Live style guide

- Ongoing project, Engage leading the pilot

(Hadas Segal, Muhamed Younis, Ariel Zusman)

Frontend Bootcamp

(Daniel Sternlicht)

Improved Sage Generator

(Tomer Levi)

User details in access logs

What's Next?

- Frontend part to sage generator

- Add Nest.js to sage generator
- Common Eslint \ prettifier

- Mysql client

- Memcached cache provider

- Swagger support

- Style guide

- Web components

- Better typings for sage APIs

- Testim.io integration

Task Force Schedule

Questions?

Next Guild assemblies

Monday, May 6th

Vlad's new open source project!

 

Wednesday, May 15th

Live from Ljubljana!

Made with Slides.com