Skip to content
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

Documentation issue, example code does not compile #319

Open
jk-1 opened this issue Feb 13, 2024 · 0 comments
Open

Documentation issue, example code does not compile #319

jk-1 opened this issue Feb 13, 2024 · 0 comments

Comments

@jk-1
Copy link

jk-1 commented Feb 13, 2024

Configuring uTest

Per-Run Setup/Teardown, and other test-running Config

Folowing code:

    def resultsHeader = BaseRunner.renderBanner("Results")
    def failureHeader = BaseRunner.renderBanner("Failures")

    def startHeader(path: String) = BaseRunner.renderBanner("Running Tests" + path)

Does not compile:

info] compiling 1 Scala source to /home/jk/workspace/scripts/out/demolib/test/compile.dest/classes ...
[error] /home/jk/workspace/scripts/demolib/test/src/com.company.demo/demomgr/demoTestFramework.scala:42:34: value renderBanner is not a member of object utest.runner.BaseRunner
[error]   def resultsHeader = BaseRunner.renderBanner("Results")
[error]                                  ^
[error] /home/jk/workspace/scripts/demolib/test/src/com.company.demo/demomgr/demoTestFramework.scala:43:34: value renderBanner is not a member of object utest.runner.BaseRunner
[error]   def failureHeader = BaseRunner.renderBanner("Failures")
[error]                                  ^
[error] /home/jk/workspace/scripts/demolib/test/src/com.company.demo/demomgr/demoTestFramework.scala:45:46: value renderBanner is not a member of object utest.runner.BaseRunner
[error]   def startHeader(path: String) = BaseRunner.renderBanner("Running Tests" + path)

utest version is 0.8.2
scala version is 2.13.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant