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

[ENHANCEMENT] Reserve the key library exclusively for configuring Robot Framework libraries in the robot.toml file #335

Open
d-biehl opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@d-biehl
Copy link
Member

d-biehl commented Oct 16, 2024

Background: Configuring libraries directly in test suites using the Library statement and arguments can become complex, especially with libraries like Browser. Centralizing this configuration in robot.toml would simplify management and improve maintainability.

Proposed Solution:

  • Reserve library in robot.toml for library configurations, similar to the tool section in pyproject.toml.
  • Leverage the existing profile support in robot.toml to allow library configurations to be defined per profile. This enables different library setups for environments like testing, development, or production.
  • Ensure consistency across tools like CLI and VSCode when handling library configurations and profiles.

Benefits:

  • Cleaner, more maintainable configuration for complex libraries.
  • Centralized management of libraries, reducing clutter in test suites.
  • Profiles enable flexible library configurations for different environments.
  • Familiar structure for Python developers using pyproject.toml.

Impact:

  • Documentation and tool updates may be required.
  • Ensure backward compatibility with current library configurations.
@d-biehl d-biehl added the enhancement New feature or request label Oct 16, 2024
@d-biehl d-biehl changed the title [ENHANCEMENT] Reserve the key `library exclusively for configuring Robot Framework libraries in the robot.toml file [ENHANCEMENT] Reserve the key library exclusively for configuring Robot Framework libraries in the robot.toml file Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant