Skip to content

Support any file extension when explicitly running file and when using --extension #3269

Closed

Description

@pekkaklarck

RF 3.2 parses only .robot files (see #2820 for discussion) by default and requires using --extension if test data files use some other extension. Earlier the valid extensions were limited to .robot, .txt, .tsv, .html (not supported at all anymore), .rest and .rst, but we don't need to have that restriction anymore. We can simply parse all files that match whatever is configured with --extension and only .robot files if that options isn't used at all.

When execution a simple file, we can parse it regardless the extension. Just need to make sure we use reST parser when execution .rest or .rst files. When executing a directory, --extension is needed.

Activity

  1. added this to the v3.2 milestone on Aug 13, 2019
  2. added 2 commits that reference this issue on Aug 13, 2019
    58665fb
    019419f
  3. added a commit that references this issue on Sep 3, 2019
    a5306fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions