Mission accomplished! Thanks for all support

https://github.com/elixir-lang/elixir/pull/10317

On Thursday, September 10, 2020 at 10:40:57 AM UTC-3 José Valim wrote:

> 1. it is under the lib/mix application on Elixir's repo
> 2. It is most likely that "use ..., :view" is defining functions and those 
> functions are not being executed by your tests
>
> On Thu, Sep 10, 2020 at 3:30 PM TecNoz by Daniel Cukier <[email protected]> 
> wrote:
>
>> Thanks for the answer Valim.
>>
>> 1) Do you know where is the code related to the coverage report? Maybe I 
>> could try to contribute with this change.
>> 2) perfect, now I understand. What about this one? Why the module 
>> definition is not covered?
>> [image: Screen Shot 2020-09-10 at 10.29.13.png]
>>
>>
>> On Thursday, September 10, 2020 at 2:30:57 AM UTC-3 José Valim wrote:
>>
>>> Hi Cukier!
>>>
>>> 1. There is no way to ignore files but it could definitely be added. 
>>> Note the coverage in the files are independent though, so ignoring the 
>>> files would only affect the total coverage report shown by mix.
>>>
>>> 2. In this example, what is not being covered is the default argument. 
>>> You never call that function without an argument, so the default argument 
>>> is never covered, showing the line as red.
>>>
>>> On Thu, Sep 10, 2020 at 5:32 AM TecNoz by Daniel Cukier <
>>> [email protected]> wrote:
>>>
>>>> I am trying to run a test coverage report in my project, but there are 
>>>> some difficulties. I run
>>>>
>>>> $ mix test --cover
>>>>
>>>> 1) Is there a way to ignore some files? I'd like to ignore some 
>>>> auto-generated files from the coverage report, because the files that 
>>>> matter are those that I created code.
>>>> 2) The generated report have some mysterious bugs. It shows that module 
>>>> definition lines are uncovered, but at the same time some lines inside the 
>>>> module are covered. Also it shows method definition lines uncovered, but 
>>>> lines inside those methods are covered.  Here is an example. How 
>>>>
>>>> [image: Screen Shot 2020-09-10 at 00.29.59.png]
>>>>
>>>> Thanks
>>>>
>>>> D
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "elixir-lang-core" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/elixir-lang-core/cc9b3c23-0df6-4afb-8eaf-48093cbf730fn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/elixir-lang-core/cc9b3c23-0df6-4afb-8eaf-48093cbf730fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elixir-lang-core/95c99bb9-0c17-44e1-99c4-0fe55d8fd056n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elixir-lang-core/95c99bb9-0c17-44e1-99c4-0fe55d8fd056n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/c38a8622-c4a0-461b-83d9-c72d10862d19n%40googlegroups.com.

Reply via email to