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

Copy directories with @venus-resource annotation #295

Open
roelrz opened this issue Oct 6, 2013 · 0 comments
Open

Copy directories with @venus-resource annotation #295

roelrz opened this issue Oct 6, 2013 · 0 comments
Assignees

Comments

@roelrz
Copy link
Contributor

roelrz commented Oct 6, 2013

We should enable the capability to copy directories wholesale with the @venus-resource annotation

Let's say we have the following directory structure:

|-foo
  |- data1.txt 
  |- bar
    |- data2.txt
    |- biz
      |- data3.txt

We should be able to have the following annotations at the top of a unit test:

/**
 * @venus-library mocha
 * @venus-resource foo
 * @venus-resource foo/bar
 * @venus-resource foo/bar/biz
 */

If the test is running on http://localhost:2013/venus-core/1, the resources will be available at the following URLs:

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