Skip to content

Commit

Permalink
Mention the experimental Dape support in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-mueller committed Jun 1, 2024
1 parent b80b0b0 commit 0ab5d44
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ suit you best.
Like `test-cockpit-test-or-projectile-test` but does not fallback to
projectile.


You can also use the following commands to run tests in a more manual way

* `test-cockpit-test-project` to run the whole test suite.
Expand All @@ -130,6 +129,17 @@ If the current function at point or the current module cannot be determined,
the last tested module resp. last tested function are tested. If there are no
last tests, an error message is thrown.


## Dape support

There are stubs to make use of the [Dape](https://github.com/svaante/dape/)
package to call the recent test run in a Dape debugging session. So far, only
the python backend supports this feature.

You can call this either using the transient UI or by the command
`test-cockpit-dape-debug-repeat-test`.


## Status

The development started more than a year ago in early 2021. Since then I have
Expand All @@ -141,7 +151,6 @@ out to work smoothly and to be quite useful.

* Test discovery
* Parsing test results to determine failed tests
* dap-mode integration – launch lastly failed test in dap-mode
* Generalizing it to a more comprehensive build-cockpit also doing simple
builds and things like release uploads.

Expand Down
2 changes: 2 additions & 0 deletions test-cockpit.el
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
;; the last tested module resp. last tested function are tested. If there are no
;; last tests, an error message is thrown.

;; There is experimental state support of the Dape package to run DAP debug sessions.

;;; Code:

(require 'transient)
Expand Down

0 comments on commit 0ab5d44

Please sign in to comment.