Progress Report -> Refactoring Project - ( June 22 - June 25)

EC
Evelyn Cusi Lopez
Mon, Jun 28, 2021 1:01 PM

Hi everyone,

Last week I did these tasks:

  • Do a map for migration
    https://docs.google.com/document/d/1vqYRdX3QDDugggxTpuN_0IvMozw9dzQZjq8yrF2Z3QM/edit?usp=sharing:
    which has a table with refactoring version in refactoring, refactoring2,
    information about their state, if it has tests, has parametrized tests, and
    finally if it is used.

  • Refactor RBRefactoring and RTransformation, to reuse similar parts of code

  • Add parametrized tests for:

    • RBAddVariableAccessorTransformationTest
    • RBExtractToTemporaryTransformationTest
    • RBAddClassTransformationTest.
  • Migrate classes:

    • RBAbstractVariablesTransformation
    • RBExpandReferencedPoolsTransformation
    • RBExtractToTemporaryTransformation
    • RBInlineMethodTransformation (still in progress).

Changes are here: github branch
https://github.com/Lin777/pharo/tree/MigrateAddTests

Tasks for this week:
https://github.com/pharo-project/pharo/issues/9142

  • Migrate Classes:

    • RBExtractMethodRefactoring, RBFindAndReplaceRefactoring,
      RBExtractMethodAndOccurrences. (complex migration)
    • RBExtractSetUpRefactoring
    • RBPushUpMethodRefactoring
    • RBPushDownMethodRefactoring
  • Add parametrized tests

Regards,

Evelyn C.

Hi everyone, Last week I did these tasks: - Do a map for migration <https://docs.google.com/document/d/1vqYRdX3QDDugggxTpuN_0IvMozw9dzQZjq8yrF2Z3QM/edit?usp=sharing>: which has a table with refactoring version in refactoring, refactoring2, information about their state, if it has tests, has parametrized tests, and finally if it is used. - Refactor RBRefactoring and RTransformation, to reuse similar parts of code - Add parametrized tests for: - RBAddVariableAccessorTransformationTest - RBExtractToTemporaryTransformationTest - RBAddClassTransformationTest. - Migrate classes: - RBAbstractVariablesTransformation - RBExpandReferencedPoolsTransformation - RBExtractToTemporaryTransformation - RBInlineMethodTransformation (still in progress). Changes are here: github branch <https://github.com/Lin777/pharo/tree/MigrateAddTests> Tasks for this week: <https://github.com/pharo-project/pharo/issues/9142> - Migrate Classes: - RBExtractMethodRefactoring, RBFindAndReplaceRefactoring, RBExtractMethodAndOccurrences. (complex migration) - RBExtractSetUpRefactoring - RBPushUpMethodRefactoring - RBPushDownMethodRefactoring - Add parametrized tests Regards, Evelyn C.
BE
Bernardo Ezequiel Contreras
Thu, Jul 1, 2021 12:24 AM

good work!🙂

On Mon, Jun 28, 2021 at 10:01 AM Evelyn Cusi Lopez cusi.evelyn@gmail.com
wrote:

Hi everyone,

Last week I did these tasks:

  • Do a map for migration
    https://docs.google.com/document/d/1vqYRdX3QDDugggxTpuN_0IvMozw9dzQZjq8yrF2Z3QM/edit?usp=sharing:
    which has a table with refactoring version in refactoring, refactoring2,
    information about their state, if it has tests, has parametrized tests, and
    finally if it is used.

  • Refactor RBRefactoring and RTransformation, to reuse similar parts of
    code

  • Add parametrized tests for:

    • RBAddVariableAccessorTransformationTest
    • RBExtractToTemporaryTransformationTest
    • RBAddClassTransformationTest.
  • Migrate classes:

    • RBAbstractVariablesTransformation
    • RBExpandReferencedPoolsTransformation
    • RBExtractToTemporaryTransformation
    • RBInlineMethodTransformation (still in progress).

Changes are here: github branch
https://github.com/Lin777/pharo/tree/MigrateAddTests

Tasks for this week:
https://github.com/pharo-project/pharo/issues/9142

  • Migrate Classes:

    • RBExtractMethodRefactoring, RBFindAndReplaceRefactoring,
      RBExtractMethodAndOccurrences. (complex migration)
    • RBExtractSetUpRefactoring
    • RBPushUpMethodRefactoring
    • RBPushDownMethodRefactoring
  • Add parametrized tests

Regards,

Evelyn C.

--
Bernardo E.C.

Sent from a cheap desktop computer in South America.

good work!🙂 On Mon, Jun 28, 2021 at 10:01 AM Evelyn Cusi Lopez <cusi.evelyn@gmail.com> wrote: > Hi everyone, > > Last week I did these tasks: > > - Do a map for migration > <https://docs.google.com/document/d/1vqYRdX3QDDugggxTpuN_0IvMozw9dzQZjq8yrF2Z3QM/edit?usp=sharing>: > which has a table with refactoring version in refactoring, refactoring2, > information about their state, if it has tests, has parametrized tests, and > finally if it is used. > - Refactor RBRefactoring and RTransformation, to reuse similar parts of > code > - Add parametrized tests for: > > - RBAddVariableAccessorTransformationTest > - RBExtractToTemporaryTransformationTest > - RBAddClassTransformationTest. > > - Migrate classes: > > - RBAbstractVariablesTransformation > - RBExpandReferencedPoolsTransformation > - RBExtractToTemporaryTransformation > - RBInlineMethodTransformation (still in progress). > > Changes are here: github branch > <https://github.com/Lin777/pharo/tree/MigrateAddTests> > > Tasks for this week: > <https://github.com/pharo-project/pharo/issues/9142> > > - Migrate Classes: > > - RBExtractMethodRefactoring, RBFindAndReplaceRefactoring, > RBExtractMethodAndOccurrences. (complex migration) > - RBExtractSetUpRefactoring > - RBPushUpMethodRefactoring > - RBPushDownMethodRefactoring > > - Add parametrized tests > > Regards, > > Evelyn C. > -- Bernardo E.C. Sent from a cheap desktop computer in South America.