Files
bun.sh/packages/bun-uws/tests/README.md
Jarred Sumner a2ddfe6913 Bring uSockets & uWebSockets forks into Bun's repository (#4372)
* Move uWebSockets and uSockets forks into Bun's repository

* Update Makefile

* Update settings.json

* Update libuwsockets.cpp

* Remove backends we won't be using

* Update bindings.cpp

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-28 08:38:30 -07:00

1.1 KiB

Testing

This folder holds some unit tests and a smoke test. These are run by GitHub Actions on every push. There are more tests in fuzzing, benchmarks folders and elsewhere.

  • We test with 500+ standards conformance tests known as the Autobahn|Testsuite where we get a full perfect score.
  • In the fuzzing folder you will find extensive security fuzz testing under AddressSanitizer, MemoySanitizer, UndefinedBehaviorSanitizer executed by Google on a daily basis.
  • In benchmarks folder you can find performance testing - we've done extensive performance testing of every commit since before we even had a single line of code.
  • A set of integration smoke tests for testing basic features against real-world "web browsers" (Deno, Node.js and Bun are the "web browsers").
  • And of course in this folder you can find the very module unit tests that check individual modules.
  • Customers and users indirectly feed us with real world, high scale production testing.
  • Semmle perform static code analysis and security testing for us, where we get the perfect A+ score.