GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add ability to run tests by part of a name. · Issue #470 · utPLSQL/utPLSQL

Add ability to run tests by part of a name. #470

New issue
Copy link
New issue
Copy link
Closed
#1203
Closed
Add ability to run tests by part of a name.#470
#1203
Copy link
Assignees
lwasylow
Labels
enhancement

Description

@jgebal
jgebal
opened on Aug 26, 2017
Issue body actions

Currently you need to specify a full name to execute test procedure / suite / package
Example:

exec ut.run('owner.test_package');
--or
exec ut.run('owner.test_package.test_procedure');

We could add ability to use '*' at the end of the package name to run all tests/suites by part of the name.
So I could call:

exec ut.run('owner.test_p*');
--or
exec ut.run('owner.test_package.test_pr*');

Adding the '*' at the end of the name should be most easy and most beneficial.

Allowing '*' in any place of name would be more natural, but there is very little value in it and implementation of such feature would be a bigger effort.

Activity

  1. jgebal
    added
    enhancement
    on Aug 26, 2017
  2. Pazus commented on Aug 26, 2017

    @Pazus
    Pazus
    on Aug 26, 2017
    Member
    More actions

    Idea. Introduce ability to specify patterns in regex format. For example:
    ut.run('{test_suite_number\d+}.main_test');

  3. jgebal
    changed the title [-]Add abulity to run tests by part of a name.[/-] [+]Add ability to run tests by part of a name.[/+] on Aug 31, 2017
  4. Shoelace commented on Oct 9, 2018

    @Shoelace
    Shoelace
    on Oct 9, 2018
    Member
    More actions

    why use '*' or a regexp?
    would a standard oracle LIKE operator not be more natural?
    or you could support both styles with eitehr an optional parameter or a prefix
    ie
    ut.run('test_suite_number%.main_test'); or ut.run('re:{test_suite_number\d+}.main_test');

    you could predefine an escape character for like to be \ also

  5. alesana-san commented on Apr 1, 2020

    @alesana-san
    alesana-san
    on Apr 1, 2020
    More actions

    I guess this is solved by putting --%context annotation or using tags.

    Reacted by Samuel Nitsche and Jacek Gębal
  6. pesse commented on Apr 1, 2020

    @pesse
    pesse
    on Apr 1, 2020
    Member
    More actions

    Yes, I think especially tags are a good substitute.
    Should we close it, @jgebal ?

  7. jgebal commented on Apr 1, 2020

    @jgebal
    jgebal
    on Apr 1, 2020
    MemberAuthor
    More actions

    I would keep it open. It's still a good idea.
    Someone might pick it up at some point.

  8. lwasylow
    self-assigned this
    on Mar 4, 2022
  9. lwasylow
    closed this as completedin #1203on Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lwasylow
    lwasylow

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.