[
https://issues.apache.org/jira/browse/ATLAS-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080863#comment-18080863
]
ASF subversion and git services commented on ATLAS-5174:
--------------------------------------------------------
Commit c7ab217924d60ac799ad116bbd62580e66cc8550 in atlas's branch
refs/heads/ATLAS-5174 from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=c7ab21792 ]
ATLAS-5174: Set up Test Infrastructure and Configuration for Atlas Dashboard
> Set up Test Infrastructure and Configuration for Atlas Dashboard
> ----------------------------------------------------------------
>
> Key: ATLAS-5174
> URL: https://issues.apache.org/jira/browse/ATLAS-5174
> Project: Atlas
> Issue Type: Sub-task
> Components: atlas-webui
> Affects Versions: 3.0.0
> Reporter: Prasad P. Pawar
> Assignee: Prasad P. Pawar
> Priority: Major
> Labels: atlas-react-test-case
>
> Set up and configure the testing infrastructure for the Atlas Dashboard React
> application, including Jest, React Testing Library, Cypress, and coverage
> reporting tools.
> Tasks
> - [ ] Install and configure Jest with TypeScript support (ts-jest)
> - [ ] Install React Testing Library and related dependencies
> - [ ] Install and configure Cypress for E2E testing
> - [ ] Configure Jest with proper module name mapping and path aliases
> - [ ] Set up test environment (jsdom) and global mocks
> - [ ] Configure coverage reporting (HTML, LCOV, JSON)
> - [ ] Add test scripts to package.json
> - [ ] Create test setup files (setupTests.ts)
> - [ ] Configure Babel for Jest transformations
> Acceptance Criteria
> - ✅ Jest is properly configured and runs without errors
> - ✅ All test dependencies are installed and working
> - ✅ Test scripts are available in package.json (`test`, `test:coverage`,
> `test:watch`)
> - ✅ Coverage reports can be generated successfully
> - ✅ Test setup files are created and functional
> - ✅ No TypeScript errors in test configuration
> Technical Details
> - Jest configuration file: `jest.config.js`
> - Test setup file: `src/setupTests.simple.ts`
> - Coverage directory: `coverage/`
> - Test environment: `jsdom`
> Dependencies
> - Node.js 18+
> - npm/yarn package manager
> Related Files
> - `jest.config.js`
> - `package.json`
> - `src/setupTests.simple.ts`
> - `tsconfig.test.json`
>
> - [ ] Set up test utilities and helpers
--
This message was sent by Atlassian Jira
(v8.20.10#820010)