Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vektra/mockery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.32.2
Choose a base ref
...
head repository: vektra/mockery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.33.1
Choose a head ref
  • 15 commits
  • 16 files changed
  • 3 contributors

Commits on Aug 3, 2023

  1. Include auto-generated files in recursive discovery by default

    Fixes #681
    
    There are many legitimate use-cases where mockery needs to include auto-generated files
    in its recursive package discovery. We add an `include-auto-generated` parameter that
    is set to `true` by default, but can be set to `false` if users want to retain the
    old behavior. We are considering the old behavior to be a bug due to the large number
    of GitHub issues we'll likely get. The original motivation for adding this behavior
    was fixed through a different mechanism, which is why we're considering this to be
    a bugfix.
    LandonTClipp committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    3b725d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b70c07a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #682 from LandonTClipp/issue_681

    Include auto-generated files in recursive discovery by default
    LandonTClipp authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    dbad753 View commit details
    Browse the repository at this point in the history
  4. Add e2e tests for issue #681

    This adds e2e tests for #681, which asserts packages containing only
    auto-generated files are added to the list of importable packages
    when doing recursive package discovery.
    LandonTClipp committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    871f904 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #683 from LandonTClipp/issue_681_e2e

    Add e2e tests for issue #681
    LandonTClipp authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    2046503 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Add error log for unsupported config

    This commit will log an error message if unsupported config is being used. I have chosen not to cause mockery to return an error code because it's possible that configs using unsupported parameters are working just fine, so we don't want to break those users. Instead, the log message should hopefully get their attention, and the attention of anyone trying to migrate to packages. Also removed is the conditional used to enter into the `packages` code path. Previously it asserted that `Config.Name == ""` but this was causing more confusion than it needed to.
    
    This fixes #685
    LandonTClipp committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    72eb146 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #686 from LandonTClipp/issue_685

    Add error log for unsupported config
    LandonTClipp authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    8abb702 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    15d6920 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b83433d View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    1bcc958 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Merge pull request #692 from leaanthony-sc/684_include_regex

    Add `include-regex` option
    LandonTClipp authored Aug 21, 2023
    Configuration menu
    Copy the full SHA
    6ada211 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Merge pull request #694 from jokly/master

    Add gcc to docker for projects with cgo
    LandonTClipp authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    74e483d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    b9a1e11 View commit details
    Browse the repository at this point in the history
  2. Minor refactor of ShouldGenerateInterface

    Technically, the outputter should not be responsible for determining if the interface
    should be generated. That is higher-order that should have been consulted before
    calling `outputter.Generate`.
    LandonTClipp committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    6111fde View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Merge pull request #698 from LandonTClipp/badcode

    Minor refactor and dead code removal
    LandonTClipp authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    8965d12 View commit details
    Browse the repository at this point in the history
Loading