Comments (14)
I'm not sure @mananpal1997
Probably what I wanted is to write tests to ensure quality of this project not for validation of HackerEarth's API validation. We should have tests in this project so that we can make sure new contributions aren't breaking anything. I'd encourage you to research on this a bit with @yemarnevets regarding what will be the best way to implement this.
from hackide.
Hi sahidula, What is an endpoint in this context? I am looking to get involved with open source projects but I am still quite new. I am very familiar with Git, so version control shouldn't be an issue. Can you please point me in the right direction for getting started with adding unittests for this project? Thanks.
from hackide.
@yemarnevets Just check for 2xx, 4xx and 5xx response, if any, from the HackerEarth API for some sample input.
@sahildua2305 Am I right?
from hackide.
@mananpal1997 @yemarnevets Any update on this?
from hackide.
If a make some time, I will collaborate with unit testing 😀
from hackide.
@aboglioli That'd be great! Let me know if you need help
from hackide.
@sahildua2305 Hello, can I give this a try?
from hackide.
@ChauTNguyen Sure 🙂
from hackide.
https://gist.github.com/ChauTNguyen/13ebafa8ea4f450ce40575bca3f78034
Hi, I'm working on it. However, I wanted to know if I'm starting it out correctly/heading in the right direction, so I wrote just a few basic unit tests.
dependencies: selenium 3.0.2
I started out by covering:
- loading the site, and compiling to see if the UI and compiling the default works properly (ex: Compile Status: OK)
- loading the site, and giving failing input to see if the UI works properly (ex: Compile Status: --)
- turning on the checkbox should add the custom input display, which allows the user to send in custom input. user dumps some input in, and after running the code, the custom input should then be re-displayed within stdin.
- user does a simple hello world program and runs the program to get a link to the saved code. user then goes to that link (and I tested if the input stays the same) and runs the code, and the output should contain the hello world
I used sleep commands for the short compiles and refreshes (to give DOM time to render).
from hackide.
@ChauTNguyen looks good. Can you please create a PR for the same?
from hackide.
Hello, I am new to open source. Can I contribute to issue #44 ?
from hackide.
@PrathameshPalaskar welcome. Thanks for showing interest to contribute to this project.
As you can see there's already a pull request for this issue. Do you have any extra ideas about how you would want to do this?
from hackide.
Re-opening this because the PR #44 was never submitted and this is likely up for grabs.
from hackide.
Is this issue still open? I would like to contribute with some unit tests.
from hackide.
Related Issues (20)
- Link generated for viewing old code doesn't contain port number HOT 1
- Implement profiling system allowing users to make their profiles and saving codes in their profiles HOT 3
- ImportError: No module named 'mongoengine' HOT 5
- PHP phpinfo log viewable HOT 1
- Java files don't match with public class HOT 4
- Create a download dialog box for naming file download. HOT 3
- Improve compilation error message
- Port to django 1.11 HOT 4
- Could not create compile log file for stdout HOT 2
- Not working at all HOT 2
- couldn't run the server HOT 1
- issue with python version HOT 3
- Issue with requirements HOT 3
- Bug PHP Code Injection HOT 1
- Should not it be upgraded to the django latest version HOT 7
- Python3 support
- Newer compilers and interpreters
- Addition of docker HOT 5
- Feature to save code written in a language while switching to another language HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hackide.