macrotest icon indicating copy to clipboard operation
macrotest copied to clipboard

Add: test-virtual (related issue #71)

Open taqtiqa-mark opened this issue 3 years ago • 5 comments

This initial commit contains the state of play immediately after add the example crates:

  • test-project
  • test-procmacro-project

Other than setting up the workspace references no changes to the example crates have been made.

The integration test harness has not yet been implemented.

Signed-off-by: Mark Van de Vyver [email protected]

taqtiqa-mark avatar Mar 28 '22 05:03 taqtiqa-mark

Just to clarify the state of play here. Previously this was motivated by:

a infinyon/fluvio plugin-style integration test harness

However, with some experience, that seemed an overly complicated approach (check out the current state of the fluvio integration test code...).

Currently, one can get a generic and elegant template using DJB's redo build system, and following a couple of conventions.

taqtiqa-mark avatar Apr 01 '24 01:04 taqtiqa-mark

All related issues have been closed, but is there still a problem with your use case?

taiki-e avatar Apr 12 '24 13:04 taiki-e

Setting up a integration test env for a virtual workspace, using the hierarchy of crates that proc-macros necessitate, is a non trivial exercise. So I think there is some value adding this template to the two existing templates is worth while.

As you have observed first hand, it exposed one bug, and its presence should guard against regressions and other issues.

Understand if you disagree and wish to close this as out of scope.

Otherwise, I'll ping you when I believe it is ready for review?

taqtiqa-mark avatar Apr 14 '24 02:04 taqtiqa-mark