Is Bun Ready for Unit Testing?

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 5

  • @StingSting844
    @StingSting844 4 місяці тому

    You probably need to update the video a bit as they have fixed some of the issues mentioned. For ex test coverage can be output as files

    • @js2brain
      @js2brain  4 місяці тому

      You can't update a video at UA-cam. Maybe I'll do a follow-up video when more issues are resolved. Thanks for pointing out that coverage reporting to (lcov) files works now.

  • @coolemur976
    @coolemur976 10 місяців тому

    Speed of tool itself doesn't matter. In big scale projects it won't be the bottleneck of tests. It will be some dev's putting artificial timeouts or executing long running tasks in tests. 🤷‍♂

    • @js2brain
      @js2brain  10 місяців тому

      Do you have a good code review process in place? Of course, the bottleneck can be somewhere else than the tool, depending on the project and team.

    • @StingSting844
      @StingSting844 4 місяці тому +1

      NO WAY. WE HAVE 5000+ tests in our monorepo and Jest used to take 45 mins normally and around 1hr when under load. Bun runs it in 3 mins