Skip to content

Commit

Permalink
Adapted documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Jul 19, 2023
1 parent cb872e1 commit 58e67e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/test/portal-core-unit-testing/README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

== What is it?

It is about mock-classes, base-classes, test-infrastructure and extensions (Junit 5). This is the starting point for all unit-test in the context of the cui-portal.
It is about mock-classes, base-classes, test-infrastructure and extensions (Junit 5).
This is the starting point for all unit-test in the context of the cui-portal.

== Maven Coordinates

Expand Down Expand Up @@ -36,7 +37,7 @@ Additional configuration can be added either by the annotation, for all tests:
class ConfigurationEnabledTest {
----

or by injecting the PortalTestConfiguration for applying in the context of certain tests
or by injecting the `PortalTestConfiguration` for applying in the context of certain tests

[source,java]
----
Expand Down Expand Up @@ -143,7 +144,7 @@ class ViewBeanTest extends AbstractPageBeanTest<ViewBean> {

`verifyObjectContracts()`: Verifies the contract of `Object.equals(Object)`, `Object.hashCode()`, `Object.toString()` and `Serializable` by serializing / deserializing the object.

_Caution_: it will check less detailed compared to previous variants. If you want a full blown test use ValueObjectTest directly. If you want to adapt the test you must override it. Previous annotation will not work.
_Caution_: it will check less detailed compared to previous variants. If you want a full blown test use `ValueObjectTest` directly. If you want to adapt the test you must override it. Previous annotation will not work.

=== Testing a ResourceBundle-Locator

Expand Down

0 comments on commit 58e67e6

Please sign in to comment.