Skip to content

chore(docs): some instructions for scripted tests#451

Merged
octonato merged 2 commits intolightbend:mainfrom
raboof:document-sbt-scripted
Sep 22, 2021
Merged

chore(docs): some instructions for scripted tests#451
octonato merged 2 commits intolightbend:mainfrom
raboof:document-sbt-scripted

Conversation

@raboof
Copy link
Copy Markdown
Contributor

@raboof raboof commented Sep 22, 2021

No description provided.

|}
|object ${entity.fqn.name} {
| def apply(context: Unit /* ValueEntityContext */):${entity.fqn.name} =
| new ${entity.fqn.name}("TODO")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit is unrelated.
I guess you were working on another PR that will bring that change already, correct?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and probably the reason for ci failure

Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after reverting ValueEntitySourceGenerator.scala
Thanks!

|}
|object ${entity.fqn.name} {
| def apply(context: Unit /* ValueEntityContext */):${entity.fqn.name} =
| new ${entity.fqn.name}("TODO")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and probably the reason for ci failure

Comment thread CONTRIBUTING.md Outdated
scripted test has completed (successfully or not) it removes the temporary
directory where it was running.

To interactively inspect the project, you can insert a `$ pause` command in the
Copy link
Copy Markdown
Contributor

@patriknw patriknw Sep 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried

> compile
$ pause

but that will of course not work, since compile fails first.

Can we add clarification that it can be scripted (for debug purposes) like:

> protocGenerate
> generateUnmanaged
$ pause

or whatever you recommend instead

@raboof raboof force-pushed the document-sbt-scripted branch from 678b18c to 9477aad Compare September 22, 2021 12:35
Comment thread CONTRIBUTING.md
inspect the project, and enter it interactively with
`cd /tmp/sbt_431151; sbt -Dplugin.version=....`, specifying the snapshot
version of the project. Adding `> protocGenerate` or `> generateUnmanaged`
before `$ pause` might save entering sbt yourself a few times.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, ofc the pause should be added at the top (stupid thinking of me)

Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@octonato octonato merged commit c25db3f into lightbend:main Sep 22, 2021
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

Successfully merging this pull request may close these issues.

4 participants