Skip to end of banner
Go to start of banner

Big Test Pros & Cons

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

I hate Big Test because:

  1. There flaky tests when a lot of tests are written. Not sure that this is a BigTest fault though but the way we use tests with `setupApplication` is causing this situation. (Viktor Soroka)
  2. Many apps are using it like e2e and thus code coverage is achieved by just rendering the page (Viktor Soroka)
  3. Sometimes interactors work weirdly. Such as collection, focusable. (Viktor Soroka)

I like Big Test is better than other tools because:

  1. Interactors.

I wish Big Test can do:

  1. ????

I would keep Big Test if:

  1. ????

I would rank Big Test on scale (1-worst to 10-best) in Speed:

  1. 5 (Tests written with `setupApplication` are really slow and overall the build time in order for tests to run is really slow. More than a minute??? Since jest is only about unit testing the time to build and run the first tests is far less.) (Viktor Soroka). Unit tests written with BigTest are pretty fast but jest is slightly faster. (Viktor Soroka)

I would rank Big Test on scale (1-worst to 10-best) in Reliability:

  1. ????

I would rank Big Test on scale (1-worst to 10-best) in Relevance: 

  1. ????

I would rank Big Test on scale (1-worst to 10-best) in Mocking facility 

  1. 5 (sinon and faker actually used to mock stuff, but BigTest lacks the capability of jest to mock the source files. Imagine the component which under the hood uses a timer to display or some transition logic backed by some third party library. It means that with BigTest the tests should need to wait for the time. With jest, though it is possible to stub that transition logic by mocking source files.) (Viktor Soroka)

I would rank Big Test on scale (1-worst to 10-best) in Cost to migrate/rebuild existing tests

  1. 7, I gave a try to replace rather simple components with jest and it was pretty easy and all tests in BigTests were migrated to jest.  Need to try though on more complex components. The only downside is the lack of interactors capability. Further investigation is needed there but it is not that crucial for me. (Viktor Soroka)

I would rank Big Test on scale (1-worst to 10-best) in Multi-browser support

  1. Have not tried (Viktor Soroka)



  • No labels