Welcome to Coolfee.
The purpose of this project is to offer a client-side code runner with built-in testing capabilities. Its primary objective is to assist educators in providing students with a convenient way to assess their skills and identify areas of improvement. By sharing a link containing both a base code and corresponding tests, students can effectively evaluate their understanding and identify errors. This process allows students to gain practical experience with unit tests without the need for specific development platforms or the installation of dependencies.
Our testing methodology draws inspiration from Jest's syntax, albeit with certain limitations. It is important to note that our implementation is not as extensive as Jest, which benefits from a vast community and operates within a NodeJS environment rather than a browser.
Coolfee offers an ideal platform for testing and enhancing your JavaScript skills by accepting vanilla JavaScript code. It provides a seamless environment where you can effectively tackle technical challenges and elevate your programming proficiency.
Tests can incorporate various methods to ensure accurate comparisons. For instance, the "toBe" method enables direct comparisons, while the "toEqual" method facilitates comprehensive comparisons. Additionally, the "toBeCloseTo" method allows for comparisons that assess whether a value is sufficiently close in proximity.