Giter Club home page Giter Club logo

Comments (4)

andrewchang-bird avatar andrewchang-bird commented on September 17, 2024 2

Confirmed that this is specific to Catalina likely caused by a change in the fnmatch Darwin API.

from mockingbird.

andrewchang-bird avatar andrewchang-bird commented on September 17, 2024

Thanks for the report! I’m not seeing this on my end using the .mockingbird-ignore E2E tests in MockingbirdTestsHost.

  1. Where in your project is the ignore file located?
  2. Can you add the --verbose flag to your test target Generate Mockingbird Mocks script phase and post the build logs that start with [DEBUG] Ignoring source path at?

from mockingbird.

nickcurran avatar nickcurran commented on September 17, 2024

I'm not going to post the whole thing, because it looks like it's just a list of every file. It starts and ends with the following:

nick@faraday ~/workspace/sail/TableSide
:: mockingbird generate --targets 'TableSide' --support 'Test/Unit/Mocks' --outputs 'Test/Unit/Mocks/TableSideMocks.generated.swift' --disable-cache --verbose
[DEBUG] Using inferred Xcode project at /Users/nick/workspace/sail/TableSide/TableSide.xcodeproj
[DEBUG] Parse Xcode Project - Took 32.64 ms
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/UI/Tickets/TicketCell.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Transport/SailError.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Transport/Report.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Services/Protocols/Repo.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Cached/Plu.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Extensions/Dictionary+Extensions.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/UI/Startup/ServiceSettingsViewController.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Transport/TimeClock.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/UI/Components/MainButton.swift

...

[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Cached/Charge.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Cached/AutoCharge.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Transport/Split.swift
[DEBUG] Ignoring source path at /Users/nick/workspace/sail/TableSide/Model/Transport/Item.swift
[DEBUG] Extract Sources - Took 16.4 ms
[DEBUG] Found 0 source files and 0 dependency source files for target `TableSide`
[DEBUG] Parse Files - Took 0.03 ms
[DEBUG] Created 0 mockable types
[DEBUG] Process Types - Took 0.04 ms
[DEBUG] Render Mocks - Took 0.21 ms
Generated file to /Users/nick/workspace/sail/TableSide/Test/Unit/Mocks/TableSideMocks.generated.swift
[DEBUG] Write Files - Took 1.56 ms
[DEBUG] Run Program - Took 59.41 ms

from mockingbird.

andrewchang-bird avatar andrewchang-bird commented on September 17, 2024

Hm, still unable to reproduce it in my environment (Mojave), which is also what the CI uses. It’s possible that the problem is specific to Catalina.

from mockingbird.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.