<@U01BL9LD761> Firstly thanks for having the sessi...
# random
s
@flat-morning-91037 Firstly thanks for having the session today! It was really insightful and I am sure we all got some really good info from your perspective!| I had a few questions that I missed asking due to time constraints. If you get some free time please feel free to share your insights: 1. What type of testing is done in Gitlab? Do you all follow TDD and maintain 80-90 percent test coverage? 2. For UI do you write tests for only the functions/helper functions or you write tests for the UI as well? By UI testing I mean something on the lines of Snapshot testing.
f
1. We don't do formal TDD so to speak, but any feature that we want to merge to
master
has to be accompanied with tests otherwise it won't be approved. So every change/feature we write, we'd also write tests for it. 2. For UI tests, we use Jest + Snapshot for testing Vue code and for features that can't be tested via Jest, we rely on Rspec (that internally relies on Capybara + chromedriver). Along with it, we now have dedicated QA team which writes e2e tests for features. But as engineers, we're still responsible for writing our own unit and integration tests.
🙌 1
s
Oh ok that makes sense. Thanks a lot for sharing