about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-03-04 17:45:28 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-03-19 13:58:48 +0100
commit008ce9902828eb3cad0b2b1019ab1960fbb9300a (patch)
tree0382b2b45efd10b51fc551ef746c972db6da24c4 /src/libtest
parent4c38f1928ebb8b03e1fa4fb336025bfe0e77cde4 (diff)
downloadrust-008ce9902828eb3cad0b2b1019ab1960fbb9300a.tar.gz
rust-008ce9902828eb3cad0b2b1019ab1960fbb9300a.zip
Add a README to libtest with a roadmap
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libtest/README.md b/src/libtest/README.md
new file mode 100644
index 00000000000..d5e7ad0613b
--- /dev/null
+++ b/src/libtest/README.md
@@ -0,0 +1,30 @@
+WIP - stable libtest
+===
+
+The migration of libtest to stable Rust is currently in progress.
+
+You can find libtest at: https://github.com/rust-lang/libtest . If you need to
+make a change:
+
+* perform the change there, 
+* do a new crates.io release, and
+* send a PR to rust-lang/rust bumping the libtest version.
+
+## Roadmap
+
+Right now all the contests of libtest live in the external repo. 
+
+The next steps are:
+
+* make `#[test]` and `#[ignore]` procedural macros in the prelude by default,
+  routed to the same procedural macro, so that it doesn't matter which one runs
+  first.
+* move the unstable APIs back into rust-lang/rust to help maintainability
+  (replacing `pub use libtest::*` with explicit imports)
+* migrate libtest to the real `term` crate
+* provide `libtest` a real `custom_test_framework` runner (in parallel with the
+  runner in rust-lang/rust)
+* set up `libtest` as a normal `custom_test_framework` inside rust-lang/rust
+* refactor the internal structure of `libtest` to make it re-usable by
+  third-party custom test frameworks (think test formatting, benchmark
+  formatting, argument parsing, json format serialization, etc.)