https://github.com/dracudev/js-testing
Analyzing a movie dataset with JS methods, plus unit tests for reliability.
https://github.com/dracudev/js-testing
array-methods dataset es6 javascript jest unit-testing
Last synced: 7 months ago
JSON representation
Analyzing a movie dataset with JS methods, plus unit tests for reliability.
- Host: GitHub
- URL: https://github.com/dracudev/js-testing
- Owner: dracudev
- Created: 2024-11-05T12:17:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-24T21:57:36.000Z (about 1 year ago)
- Last Synced: 2025-04-30T16:52:52.414Z (11 months ago)
- Topics: array-methods, dataset, es6, javascript, jest, unit-testing
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Movie Data Processing
## 📄 Description
Developing functions to manage and analyze a dataset of movies, including tasks like extracting director data, calculating average ratings, and sorting movies. The project emphasizes the practice of essential JavaScript methods such as `map`, `reduce`, and `filter`, as well as creating unit tests to verify functionality.
### Objectives
- Practice using array methods like `map`, `reduce`, and `filter`.
- Learn to create unit tests.
- Manipulate a dataset for targeted information extraction.
## 💻 Technologies Used
- JavaScript (ES6)
- Jest.js (for testing)
## 📋 Requirements
- **JavaScript ES6** or higher
- **Jest.js** for running unit tests
## 🛠️ Installation
1. Clone this repository:
```bash
git clone https://github.com/dracudev/S3-Testing-JS.git
```
2. Navigate to the project directory:
```bash
cd S3-Testing-JS
```
3. Open the project in your text editor and start coding.
```bash
code .
```
## ▶️ Execution
1. Run the tests to validate functionality. This will automatically generate a test-results.html file showing test outcomes.
```bash
npm install
npm run test:watch
```
2. Open test-results.html in a browser (recommended to use the Live Server plugin in Visual Studio Code for auto-refresh).