-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests at generator module [discussion] #220
Comments
you may also watch this video: #209 (comment) |
another thread about tests: #132 |
I don't have an experience working with JEST. I could use some resources to learn it. I familarizing myself with the project. I've cloned the repository and ran tests. |
Today I make a review of code as well. |
this is my repository with articles about Jest. it's not formatted yet - lazy to do it. This books is the best way to start from scratch: https://github.com/ChickenKyiv/awesome-jest-articles/blob/master/README.md#this-is-my-king-httpsflaviocopescomjest but we need to keep a balance between learning and practice. because there a lot of tools at jest universe. So you can start with basic things and then we will start with simple tests only for practice. I'm a fan of practice, because it give a real experience. |
tell me if you'll have issues with local project setup. this is not a nodejs server project - it's not possible to run it locally without creating a build. and build is created by rollup - so things a tricky. but it;s a great workflow for coding independent modules |
tell me please also about your git skills as well. I have few courses
prepared, can share them with you
… |
I didn't have problems with the project set up. I have basic knowledge of GIT, but I would like to learn more about it. If you would share those courses with me that would be great! Thanks! |
Sure, I'll share them soon |
I reviewed lots of materials about Jest over the couple days. Now I want to try to wright some tests. Could you please specify which functions should be covered by tests first? Any suggestions where to start, any notes would be greatly appreciated. |
Sure, will do it today |
please check this video: https://www.loom.com/share/71d0764686b34482b118e560f11ff974 |
as mentioned, links to my 2 git courses: the second course explore how to use git as team member |
I assume we need to have a better plan because i feel like you stuck a bit. Just think that if you'll make a first pull request with your simple code changes - it'll be more easy for you to move it forward. |
This comment is for me? |
@vadim9999 no, it's for @oksanafrankiv actually. |
I tried to make the pull request, but I'm denied the access to repository. It seems that I can't create the remote branch. Do you have any suggestions? |
Sure, no problem
we're using forking workflow - about details - check my 2nd git course - so
in order to be able to code together -you should fork our main repository -
put your changes at that forked version and only then you'll be able to
open pull request
… |
@oksanafrankiv let's discuss what we should do next |
Yes, sure! |
btw, I'm making some changes at the configuration and inside at tell me what do you think and what we should do next |
Sounds good. I'll work on those files. |
let's pick one of those options :)
tell me what item you'll start to work on?
btw, i made changes at main repository - please sync your fork. if it'll be
not clear - tell me - i'll help
… |
Ok I'll work on option 1. |
ok, cool - if you need help of stuck at something - just open new PR and i'll be able to look at your code changes locally |
I'll work on option 2. |
ok, great - tell me if you need more information |
Is your feature request related to a problem? Please describe.
@oksanafrankiv this will be our task for discussion tests at this simple module.
Partially - we start to add tests, but we never focused on 100% coverage. So let's make this current version of the module covered with tests and then we'll extend tests, because soon this module will be upgraded(major part will be the same, but logic will be less confusing and have less size)
Question: tell me about your JEST knowledge. it's totally fine if you'll need time to learn it. I have a lot of great resources, related to Jest lib.
The text was updated successfully, but these errors were encountered: