Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lmaldonadoch/testing-practice


https://github.com/lmaldonadoch/testing-practice

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

# testing-practice
We made a few modules in JavaScript to practicing testing with Jest.

## Project specifications
On this project, we used Jest to test several functions and modules. We created functions to Capitalize strings, Reverse strings, and analyze an array. We also created modules for a calculator and ciphering strings with a couple of private functions that we didn't test following the instructions on the video tutorial provided with the learning material. We created tests for edge cases such as a user giving us strings instead of numbers for our calculator among others.

## Built With

* Javascript

Tools used on this project

- Visual Studio Code
- Atom Editor

## Instructions to run the project

+ Open terminal on your workspace with
```
cd /home/projects_workspace/..
```
+ Cloning the project input the next code:
```
git clone [email protected]:lmaldonadoch/testing-practice.git
```
+ Navigate to the folder of the project
```
cd /testing-practice/
```
+ Copy and run this command to install jest and all the requirements
```
npm install --save-dev jest babel-jest @babel/preset-env

```

Run `npm test` in your console/terminal.

## Screenshot

![image](https://i.imgur.com/tSdpmiy.png)

## Authors

👤 **Luis Angel Maldonado Chavez**
- Github: [@lmaldonadoch](https://github.com/lmaldonadoch)
- Twitter: [@LuisAngelMCh](https://twitter.com/LuisAngelMCh)
- Linkedin: [linkedin](https://www.linkedin.com/in/lmaldonadoch)

👤 **Isaac Gonzalez**

- Github: [@idgm5](https://github.com/idgm5)
- Twitter: [@idgm5](https://twitter.com/idgm5)
- Linkedin: [Isaac Gonzalez](https://www.linkedin.com/in/isaacmunguia)

## Contributing

This is an education project as a part of the Microverse so contributing is not accepted.

Contributions, issues and feature requests are welcome!

Feel free to check the [issues](https://github.com/enelesmai/enumerable-methods/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgements

+ [Github](http://github.com/).
+ [The Odin Project](theodinproject.com/).

## License

This project is [MIT](lic.url) licensed.