Skip to content

Sorted all current test cases into some groups #1101

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

Merged
merged 7 commits into from
Mar 9, 2018
Merged

Sorted all current test cases into some groups #1101

merged 7 commits into from
Mar 9, 2018

Conversation

Jinjiang
Copy link
Member

... to make tests more maintainable.

The structure after sorting:

  • vue-loader
    • basic usage
      • basic
      • pre-processors
      • style import
      • template import
      • script import
    • advanced features
      • pre/post loaders
      • support chaining with other loaders
      • expose filename
      • extract CSS
      • extract CSS using option
      • extract CSS using option (passing plugin instance)
      • pre-processors with extract css
      • source map
      • dependency injection
      • hot reload enabled
      • hot reload disabled
      • cacheBusting: false
    • template block features
      • template with comments
      • transpile ES2015 features in template
      • translates relative URLs and respects resolve alias
      • transformToRequire option
      • should allow adding custom html loaders
      • custom compiler modules
      • custom compiler modules (string)
      • custom compiler directives
      • functional component with styles
      • functional template
    • style block features
      • scoped style
      • media-query
      • supports-query
      • postcss options
      • load postcss config file
      • load postcss config file by path
      • load postcss config file with js syntax error
      • postcss lang
      • css-modules
    • script block features
      • allows to export extended constructor
      • support es compatible modules
      • named exports
    • custom block features
      • extract custom blocks to a separate file
      • add custom blocks to the webpack output
      • custom blocks work with src imports
      • passes Component to custom block loaders
      • custom blocks can be ignored
      • custom blocks with ES module default export
      • passes attributes as options to the loader
      • pre/post loaders for custom blocks
    • SSR
      • css-modules in SSR
      • SSR style and moduleId extraction

Thanks.

@yyx990803
Copy link
Member

Looks like there's a conflict - I think it would be even better to split the tests and helpers into separate files - right now a single file is becoming hard to navigate.

@Jinjiang
Copy link
Member Author

Jinjiang commented Mar 7, 2018

Agree, I will resolve the conflict and separate the code soon.

@yyx990803 yyx990803 merged commit f06e3e7 into vuejs:master Mar 9, 2018
@Jinjiang Jinjiang deleted the test-rebuild branch March 9, 2018 13:31
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.

2 participants