Migrate Structure

This commit is contained in:
Rob Winch
2023-08-03 11:11:12 -05:00
parent 2ba6990f72
commit 9b5ed3a9eb
96 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
[[using-shell-testing-basics]]
=== Basics
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
Spring Shell provides a number of utilities and annotations to help when testing your application.
Test support is provided by two modules: `spring-shell-test` contains core items, and
`spring-shell-test-autoconfigure` supports auto-configuration for tests.
To test _interactive_ commands.
====
[source, java, indent=0]
----
include::{snippets}/TestingSnippets.java[tag=testing-shelltest-interactive]
----
====
To test _non-interactive_ commands.
====
[source, java, indent=0]
----
include::{snippets}/TestingSnippets.java[tag=testing-shelltest-noninteractive]
----
====