{"id":49243096,"url":"https://github.com/anyulled/tdd_react","last_synced_at":"2026-04-24T20:12:39.437Z","repository":{"id":14564191,"uuid":"74890718","full_name":"anyulled/tdd_react","owner":"anyulled","description":" ⚛ Test Driven Development with Reactjs","archived":false,"fork":false,"pushed_at":"2025-09-27T13:26:13.000Z","size":64,"stargazers_count":3,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-27T15:22:01.273Z","etag":null,"topics":["assertions","chai","enzyme","mocha","quik","reactjs","test-driven-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anyulled.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-27T13:54:31.000Z","updated_at":"2024-06-30T13:35:25.000Z","dependencies_parsed_at":"2023-01-11T18:50:45.684Z","dependency_job_id":"113bb7a2-1b7b-4ace-832c-f6315a951b15","html_url":"https://github.com/anyulled/tdd_react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anyulled/tdd_react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyulled%2Ftdd_react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyulled%2Ftdd_react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyulled%2Ftdd_react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyulled%2Ftdd_react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyulled","download_url":"https://codeload.github.com/anyulled/tdd_react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyulled%2Ftdd_react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assertions","chai","enzyme","mocha","quik","reactjs","test-driven-development"],"created_at":"2026-04-24T20:12:38.859Z","updated_at":"2026-04-24T20:12:39.433Z","avatar_url":"https://github.com/anyulled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Driven Development with ReactJs\n[![Dependency Status](https://gemnasium.com/badges/github.com/anyulled/tdd_react.svg)](https://gemnasium.com/github.com/anyulled/tdd_react)\n## Prerequisites\n\n- NodeJs\n- npm\n\n## Environment\n\n- Quik [web](https://www.npmjs.com/package/quik)\n\n### Test Runner\n\n- **Mocha**: it's the top-level tool responsible for finding and loading test files, trnaspiling them, and running the test code itself: the `describe` and `it` blocks that compose the tests.\n\n- **Chai**: is the assertion library. It supplies the `expect` and `assert` calls we'll use in the tests to verify everything is working correctly. [web](http://chaijs.com/api/)\n \n- **Sinon**: is a library for creating and inspecting spies. _Spies_ let you mock and stub pieces of functionality in order to keep the tests focused on the component under test. [web](http://sinonjs.org/docs/)\n\n- **Enzyme**: is a library for rendering and making assertions on React components. [web](http://airbnb.io/enzyme/docs/api/index.html)\n\n### Testing workflow\n\n 1. Run `mocha` at the command line, wit some arguments.\n 2. Mocha finds the test files and transpiles them.\n 3. Mocha executes the tests, which are writeen in Javascript (EcmaScript 6).\n 4. Each test will `import` _enzyme_ and _chai_, then use them to render components and make assertions.\n \n#### Getting started\n \n1. Install module dependencies with `npm install`\n2. Install Quik `npm i -g quik`\n3. Install Mocha `npm i -g mocha`\n4. To run your test, simply type `npm test`\n5. Run `npm start` to start the app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyulled%2Ftdd_react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyulled%2Ftdd_react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyulled%2Ftdd_react/lists"}