Better developer experience when developing e2e tests

Open
#2,875 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by locating the command or entry point that compiles the project before running a single e2e test, then trace how changes to e2e test files trigger that compilation. Done means rerunning one unchanged project with a modified e2e test avoids unnecessary compilation while still executing the test correctly.

Written by the indexing model from the issue text.

Description

Resolution: Needs Investigation

First of all thank you guys for your hard work and such a great tool as Stencil.

Stencil version:

 @stencil/core@2.3.0

I'm submitting a:

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
When making a change to a single e2e test file and and then running that single specific file I need to wait until l all the project compiles (which in my case takes 70 seconds) and only then the test is actually run.

Expected behavior:
Is there a way to enhance the developer experience? Like cash the compiled project because I don't make changes to the project files, I change only e2e tests.

Steps to reproduce:

  1. make change to an e2e test file
  2. run that e2e test
  3. all the project compiles (which can take significant amount of time)
  4. test is run

Other information:
Maybe I missed something in the docs and there is already a way I can improve my DX?

Dominant language
TypeScript
Stars
13.1k
Forks
855
Avg merge
4h 7m
Merged PRs (30d)
44

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stenciljs/core

All issues in stenciljs/core

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.