-
Notifications
You must be signed in to change notification settings - Fork 0
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
New documentation #4
Comments
Ideas for the API part of the documentation testdeck API
|
testdeck.org is live now. |
I like how the https://developers.google.com/protocol-buffers/ is organized, maybe I can get similar design of a website using GitHub pages. |
I find the front matter approach rather difficult. The include approach also looks nice jekyll/jekyll#246 (comment) This looks rather interesting https://gist.github.com/anonymous/bea7d7389b7331bba512. Since I have done some ruby in the past, I will try give it a shot... |
I have looked into this a bit and it is possible by using the include approach. Maybe we can derive a custom theme from https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll? Then we would have all the means required for block based layouts. |
Atlernatively we could use this as the basis https://github.com/jameshamann/jekyll-material-theme which I like even more. |
Here are some more themes
|
Should we move the docs to a separate repository, e.g. testdeck/testdeck-site.git or just keep them here? For initial tests I will set up a testdeck-site repository. We can delete that one once we have found the best theme to use. |
@pana-cc please have a look at the existing site. While I take credit and blame for the content, I must say that I am not a web designer. So everything that falls into the latter category is to be considered a work in progress. Maybe you know someone who can do better? |
Requirements
High Priority
Frontpage(s)
Guides
Contributing Pages
UX/Responsiveness
Low Priority
General
Responsiveness
Guides
Reference Pages
Contributing Pages
Support Pages
With the refactoring in #181 being nearly complete, we should think about also a new documentation that supports all of the existing testdeck integrations.
While every package must have its own README.md, this part of the documentation should focus on the integration alone and refer the user to a common set of documents that will reside at the top level of the mono repo. That way we can still make use of the built in github site functionality.
Domain
The current documentation can be accessed via the mocha-typescript.org domain.
A quick look shows that testdeck.org is still available. Maybe we should use this in the future?
testdeck README.md
This documentation should provide the user with information on the available packages and how to participate in the development a/o building things locally, or even provide new integration packages for other test frameworks that we have not considered yet.
testdeck integration package README.md
This documentation should provide the user with information on how to use a specific integration of testdeck, e.g.
@testdeck/mocha
with their favourite test framework.From here, pointers will lead the user to more detailed information in the common documentation.
Also, we have to rework the badges (npm/ci/...).
testdeck seed README.md
The seed's documentation should focus on how to get things running with that particular seed. Provides pointers to testdeck documentation.
Common documentation testdeck/docs
We must remove any reference to mocha-typescript or mocha and make this so that it will give the user information on whether a specific testdeck feature is available for a specific integration, e.g.
slow
is available on@testdeck/mocha
but is ignored/not supported on e.g.@testdeck/jest
, and so on.Also, we have to remove the badges from all documents as these will no longer work.
My initial proposal for the structure would be so, e.g. under testdeck/docs/ one can find the following documents
Provides the user with pointers to the existing other documents. Gives an overview over the available features and integrations for the various test frameworks. Some marketing stuff. Also provides links for each integration package on npm and github.
A general overview of the API.
Focuses on suite declaration alone, including execution modifiers, lifecycle (aka hooks), and suite settings (slow, timeout, ...).
Focuses on test declaration alone, including execution modifiers, lifecycle (aka hooks), and suite settings (slow, timeout, ...).
Focuses on parametrised test declaration alone, including execution modifiers, lifecycle (aka hooks), and suite settings (slow, timeout, ...).
Focuses on dynamic generation of suites. Shows how to combine the standard test UI (describe/it) with the object oriented approach.
Focuses on dependency injection alone.
Focuses on contribution guide lines, e.g. how to file bug reports, make pull requests and thus participate in the development and so on.
Focuses on how to integrate additional test frameworks with testdeck, based on an existing integration, e.g. mocha.
Focuses on how to integrate additional ioc / dependency injection frameworks, based on an existing integration, e.g. di-typedi
More?
The text was updated successfully, but these errors were encountered: