在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ironhack-labs/lab-es6-javascript-koans开源软件地址:https://github.com/ironhack-labs/lab-es6-javascript-koans开源编程语言:JavaScript 99.5%开源软件介绍:ES6 JavaScript KoansIntroductionWe already did an exercise using Koans methodology on the first module. Koans are an excellent way for practice some fundamentals of the programming language we are learning. In this case, we will continue practicing JavaScript, but using the ES6 features we learned! Just to a quick reminder, let's remember a bit about Koans! What are the Koans?Koans (公案) originate from Zen Buddhism. They are paradoxical riddles or stories which are used to test students on their path to enlightenment. They are designed to provoke thought or doubt in the student's mind. We are here to learn to code, so... what are the Koans? The Koans are a series of assertions you must solve to understand how a programming language works. These assertions are the first step to become a better developer. The Koans become increasingly more difficult as you continue, so don't feel discouraged as you move forward through them. There are Koans for all the programming languages. We will be working with JavaScript Koans. The mechanism is the following:
We are going to test the code assertions through Jasmine. Here we have introduced two new concepts: Testing and Jasmine. Let's see a brief introduction about both of them. TestingWhen we are coding, we have to be sure that our code is working as we expect. More than that, when we update our existing code, we have to be 100% sure that the old one is still working. As our website becomes larger, it becomes more difficult to check that all our features are working as we expect. How can we automatize this process? The answer is with testing. Requirements
Submission
We need to execute our tests so open the file In the beginning, you will see all the tests in yellow because the tests we have to implement are commented. (except for one, that throws an error, no worries |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论