Extend FluentMigrator.Tests.Containers' ContainerBase to support logging flags

Open
#1,973 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
testing

Research direction

Start with the ContainerBase implementation and the linked NUnit trace and debug output documentation. Determine the minimum logging-flag behavior intended for the MVP, then verify it through the existing FluentMigrator.Tests.Containers tests; the issue does not name a specific test or define the expected flags.

Written by the indexing model from the issue text.

Description

          https://docs.nunit.org/articles/nunit/technical-notes/usage/Trace-and-Debug-Output.html

I forgot that NUnit 3's way of logging is not super extensible and a bunch of static Write methods. I think the only way to do this is as the linked doc describes.

My suggestion would be that we allow ContainerBase to have a property to turn on Logging, but we do not need to tackle that in this PR. Let's focus on :shipit: MVP.

Originally posted by @jzabroski in https://github.com/fluentmigrator/fluentmigrator/pull/1931#discussion_r1968199789

Dominant language
C#
Stars
3.5k
Forks
702
Avg merge
2d 15h
Merged PRs (30d)
19

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fluentmigrator/fluentmigrator

All issues in fluentmigrator/fluentmigrator

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.