Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

AP-703: Write integration tests (AP-780) #34

Merged
merged 6 commits into from
Sep 4, 2019
Merged

Conversation

justinanastos
Copy link
Contributor

@justinanastos justinanastos commented Jul 29, 2019

This is a second pass at writing integration tests. We don't target any code coverage, we only test things that give us increased confidence. If the tests pass, we should be confident to release. Not all components are tested yet, we can add more tests as we go.

I also included some resources to read about testing and some very very rough guidelines on what I'd be looking for. Please open PRs to help tell our story!

Resolves AP-703 and AP-780

@justinanastos justinanastos changed the base branch from master to justin/ci July 29, 2019 20:10
@justinanastos justinanastos force-pushed the justin/tests branch 2 times, most recently from d55ada1 to cdf3afd Compare July 29, 2019 20:12
@justinanastos justinanastos changed the title Write tests RFC: Write tests Jul 29, 2019
@justinanastos justinanastos marked this pull request as ready for review July 30, 2019 00:39
@justinanastos justinanastos changed the base branch from justin/ci to master July 30, 2019 15:30
src/Button.spec.tsx Outdated Show resolved Hide resolved
src/Table.spec.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@mayakoneval mayakoneval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really excited about this. I can't think of any cases that we have missed right now, but it should be standard for people opening space-kit PR's to add tests for each new prop / new component.

As long as we are of the mind that these ci / jest tests cover components being rendered and chromatic covers the appearance of components, I have confidence that a passing PR can be merged without issues.

@justinanastos justinanastos changed the title RFC: Write tests [WIP] RFC: Write tests Jul 30, 2019
@mayakoneval mayakoneval mentioned this pull request Jul 31, 2019
@justinanastos justinanastos changed the title [WIP] RFC: Write tests [WIP] AP-703: Write tests Aug 26, 2019
@justinanastos justinanastos force-pushed the justin/tests branch 3 times, most recently from 0c76589 to 784abe0 Compare September 3, 2019 13:57
@justinanastos justinanastos changed the title [WIP] AP-703: Write tests AP-703: Write integration tests Sep 3, 2019
@justinanastos justinanastos added the minor Increment the minor version when merged label Sep 3, 2019
@justinanastos justinanastos changed the title AP-703: Write integration tests AP-703: Write integration tests (AP-780) Sep 3, 2019
@justinanastos justinanastos force-pushed the justin/tests branch 2 times, most recently from 77b13f1 to 479be48 Compare September 3, 2019 14:35
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v2.3.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants