{"library":"jest-in-case","type":"library","category":null,"description":"jest-in-case is a utility for the Jest testing framework that simplifies the creation of parameterized tests. It allows developers to define a single test function (`tester`) and supply multiple sets of input data (`testCases`) as either an array of objects or an object whose keys serve as test names. This dramatically reduces boilerplate when testing a function or component with numerous input variations. The package helps organize tests by automatically generating named test cases using Jest's `test` function, and supports `test.only` and `test.skip` via special `only` and `skip` properties within test cases. The latest version, 1.0.2, was published on September 8, 2017, making it an effectively abandoned project. This means it has not been updated in over nine years and is likely incompatible with recent major versions of Jest (e.g., Jest 30) and modern Node.js environments. There is no active release cadence, and it lacks contemporary features like native TypeScript support.","language":"javascript","status":"abandoned","version":"1.0.2","tags":["javascript","jest","test","testing"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jest-in-case","imports":["import cases from 'jest-in-case';","const cases = require('jest-in-case');"]},{"cmd":"yarn add jest-in-case","imports":[]},{"cmd":"pnpm add jest-in-case","imports":[]}],"homepage":null,"github":"https://github.com/thinkmill/jest-in-case","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jest-in-case","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jest-in-case/compatibility"}}