Comments (14)
do we agree to describe only v2? (saying that v1 still exists in old katas should be enough. Only PUs will be facing old codes to maintain anyway, I guess)
I'll begin with the reference manual.
from docs.
BTW, now that we're talking about it... Should we add my module forbidder to the test framework? That would require some work, but it's already in the wild in a lot of katas and it's spreading. And it has some flaws and it already became impossible to update it everywhere, since I don't know all the places... :/
(yeah, it's "a bit" off topic... x) )
from docs.
Yeah, focus on the v2. We can add some notes about the old one later.
For module forbidder, can you open a new issue at https://github.com/codewars/python-test-framework?
from docs.
done
is that repo the last version? (I believe not?) I'd like to have the code on hand so that I can check what I write about it. XD
from docs.
Yeah, it's the version being used on Codewars.
from docs.
👍
from docs.
how do I integrate an picture...? :/
from docs.
This part is complete about the content except for:
- the picture
- the module forbidder
Tho, I forgot about the headers specific to docs.codewars
from docs.
Can you move the files?
- document to
content/languages/python/codewars-test-famework/index.md
- image to
content/languages/python/codewars-test-framework/python-test-framework-example.png
Then, use the image in the Markdown. ![Python Test Framework Example](./python-test-framework-example.png)
.
Also, add frontmatter to Markdown so that it shows up on the Python page and navigations are added.
---
category: references
languages: [python]
tags:
- testing
sidebar: "language:python"
prev: /languages/python/
---
from docs.
Ok, I'll see that tomorrow. I really need to sleep, right now.
cheers
from docs.
On structuring the test suite with describe
/it
:
Assertions directly in
describe
should be avoided. It happens to work at the moment, but it's awkward.
Top-levelit
should be fine. Many test frameworks don't havedescribe
.
Top-level assertions are strongly discouraged.So
describe -> it -> assertions
best,it -> assertions
ok,describe -> assertions
bad,assertions
bad.
from docs.
Created an issue dedicated to the guide here: #191.
from docs.
@kazk now #191 and #197 are done, do you consider anything more necessary in scope of this issue, or can it be closed?
from docs.
This can be closed. Thanks everyone, for writing them.
from docs.
Related Issues (20)
- Recipe: OCaml test suite HOT 2
- Add a note on editor options
- Suggestion: documenting the (actual, expected) order for all languages HOT 3
- 4 ky
- Reference: describe kata search HOT 1
- Spanish Translation
- Add RISC-V to the list of Beta languages
- Specify exact variation of RISC-V specification emulated by Codewars in the docs HOT 1
- Add section on reproducing RISC-V Codewars runtime locally HOT 1
- rank up scores not updated in #docs HOT 2
- Remove information on performance problems of test output panel
- Duplicate the pagination-nav at the top of the page
- Describe how to stringify double values with a requested precision.
- Document "Report" function
- Update Ruby authoring guide to Ruby 3
- Document filtering options of user's solutions tab
- Writing Submission Tests need total restructuring HOT 12
- Add link to "https://0.30000000000000004.com/" to "Working with Floating-Point Numbers" HOT 1
- Broken link to Truffle JS documentation
- Update page on translations
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 docs.